[llvm-commits] [llvm-gcc-4.2] r128219 - /llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h
Bob Wilson
bob.wilson at apple.com
Thu Mar 24 09:54:12 PDT 2011
Author: bwilson
Date: Thu Mar 24 11:54:12 2011
New Revision: 128219
URL: http://llvm.org/viewvc/llvm-project?rev=128219&view=rev
Log:
Link with libSystem before libgcc for iOS simulator SDKs 4.3 and later.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h?rev=128219&r1=128218&r2=128219&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h Thu Mar 24 11:54:12 2011
@@ -169,7 +169,8 @@
/* APPLE LOCAL begin prefer -lSystem 6645902 */
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC \
- "%{miphoneos-version-min=*: %G %L} \
+ "%{miphoneos-version-min=*: \
+ %{!static:%:version-compare(>= 4.3 miphoneos-version-min= -lSystem)} %G %L} \
%{!miphoneos-version-min=*: \
%{!static:%:version-compare(>= 10.6 mmacosx-version-min= -lSystem)} %G %L}"
/* APPLE LOCAL end prefer -lSystem 6645902 */
More information about the llvm-commits
mailing list