Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: gcc/config/i386/nacl.h

Issue 6995084: Restore simple LIB_SPEC using just -lc (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gcc/gcc.c » ('j') | gcc/gcc.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | gcc/gcc.c » ('j') | gcc/gcc.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698