link shared objects against libgcc_pic also in the !native
(ie tools/cross) case, as already done in the native configuration
This commit is contained in:
parent
80cc7b7a7b
commit
c712f01409
2
gnu/dist/toolchain/gcc/config/netbsd.h
vendored
2
gnu/dist/toolchain/gcc/config/netbsd.h
vendored
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user