From c712f01409bab8991676796e7eaa4093cf06f66a Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 26 Jun 2003 17:50:32 +0000 Subject: [PATCH] link shared objects against libgcc_pic also in the !native (ie tools/cross) case, as already done in the native configuration --- gnu/dist/toolchain/gcc/config/netbsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/dist/toolchain/gcc/config/netbsd.h b/gnu/dist/toolchain/gcc/config/netbsd.h index 4a960e3b43bb..44dc4c1cb589 100644 --- a/gnu/dist/toolchain/gcc/config/netbsd.h +++ b/gnu/dist/toolchain/gcc/config/netbsd.h @@ -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 */