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:
drochner 2003-06-26 17:50:32 +00:00
parent 80cc7b7a7b
commit c712f01409

View File

@ -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 */