--- src/gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h 2005/08/03 03:12:00 1.10 +++ src/gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h 2006/07/27 00:29:57 1.11 @@ -132,6 +132,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 \