Index: gcc/config/i386/nacl.h |
diff --git a/gcc/config/i386/nacl.h b/gcc/config/i386/nacl.h |
index 8643f9ea923d49f0a20944e98d701b8c49cc5379..7a7a321f11a53c7da698f410a36cafbd8e169d17 100644 |
--- a/gcc/config/i386/nacl.h |
+++ b/gcc/config/i386/nacl.h |
@@ -91,16 +91,11 @@ Boston, MA 02111-1307, USA. */ |
"%{Ym,*} %{Yd,*} %{Wa,*:%*} %{m32:--32} %{m64:--64} " \ |
"%{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}" |
-/* `crt_platform' contains low-level platform-specific intrinsics in C. */ |
#undef LIB_SPEC |
#define LIB_SPEC \ |
"%{pthread:-lpthread} \ |
- %{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc} \ |
- -lnacl \ |
- %{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc} \ |
- %{lnosys:-lnosys} \ |
- -lcrt_platform \ |
- %{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}" |
+ %{shared:-lc} \ |
+ %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}" |
/* Define this so we can compile MS code for use with WINE. */ |
#define HANDLE_PRAGMA_PACK_PUSH_POP |