Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gcc/config link shared objects against li...



details:   https://anonhg.NetBSD.org/src/rev/244525a7b1f6
branches:  trunk
changeset: 548423:244525a7b1f6
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Jun 26 17:50:32 2003 +0000

description:
link shared objects against libgcc_pic also in the !native
(ie tools/cross) case, as already done in the native configuration

diffstat:

 gnu/dist/toolchain/gcc/config/netbsd.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 6df21f2887dc -r 244525a7b1f6 gnu/dist/toolchain/gcc/config/netbsd.h
--- a/gnu/dist/toolchain/gcc/config/netbsd.h    Thu Jun 26 17:48:37 2003 +0000
+++ b/gnu/dist/toolchain/gcc/config/netbsd.h    Thu Jun 26 17:50:32 2003 +0000
@@ -68,7 +68,7 @@
 #ifdef  NETBSD_NATIVE
 #define LIBGCC_SPEC "%{!symbolic:%{!shared:%{!p:%{!pg:-lgcc}}}%{shared:-lgcc_pic}%{p:-lgcc_p}%{pg:-lgcc_p}}"
 #else
-#define LIBGCC_SPEC "%{!shared:%{!symbolic:-lgcc}}"
+#define LIBGCC_SPEC "%{!symbolic:%{!shared:-lgcc}%{shared:-lgcc_pic}}"
 #endif
 
 /* #ifdef NETBSD_AOUT */



Home | Main Index | Thread Index | Old Index