--- src/gnu/usr.bin/cc40/cc_prep/config/Attic/dragonfly-spec.h 2005/09/11 13:09:08 1.3 +++ src/gnu/usr.bin/cc40/cc_prep/config/Attic/dragonfly-spec.h 2006/07/27 00:29:57 1.4 @@ -131,6 +131,7 @@ is built with the --enable-threads confi #endif #define LINK_LIBGCC_SPEC "" +#define LIBGCC_SPEC "%{shared: -lgcc_pic} %{!shared: -lgcc}" #define PRE_LIB_SPEC " \ %{pg: -L"PREFIX2"/lib/gcc34/profiling \