Commit 517e88d7 by Jack Howarth Committed by Mike Stump

darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Pass -no_pie for non-PIC code when targeting 10.7 or later.

2011-12-03  Jack Howarth  <howarth@bromo.med.uc.edu>

       * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC):
         Pass -no_pie for non-PIC code when targeting 10.7 or later.

From-SVN: r181982
parent 1b50e719
2011-12-03 Jack Howarth <howarth@bromo.med.uc.edu>
* config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC):
Pass -no_pie for non-PIC code when targeting 10.7 or later.
2011-12-03 Iain Sandoe <iains@gcc.gnu.org> 2011-12-03 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when * config/darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when
...@@ -26,7 +26,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -26,7 +26,9 @@ along with GCC; see the file COPYING3. If not see
#define LINK_GCC_C_SEQUENCE_SPEC \ #define LINK_GCC_C_SEQUENCE_SPEC \
"%:version-compare(>= 10.6 mmacosx-version-min= -no_compact_unwind) \ "%:version-compare(>= 10.6 mmacosx-version-min= -no_compact_unwind) \
%{!static:%{!static-libgcc: \ %{!static:%{!static-libgcc: \
%:version-compare(>= 10.6 mmacosx-version-min= -lSystem) } } %G %L" %:version-compare(>= 10.6 mmacosx-version-min= -lSystem) } } \
%{fno-pic|fno-PIC|fno-pie|fno-PIE|fapple-kext|mkernel|static|mdynamic-no-pic: \
%:version-compare(>= 10.7 mmacosx-version-min= -no_pie) } %G %L"
#undef DEF_MIN_OSX_VERSION #undef DEF_MIN_OSX_VERSION
#define DEF_MIN_OSX_VERSION "10.6" #define DEF_MIN_OSX_VERSION "10.6"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment