OSDN Git Service

* config/i386/darwin.h (CC1_SPEC): Ignore -mdynamic-no-pic for
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Apr 2010 03:18:30 +0000 (03:18 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Apr 2010 03:18:30 +0000 (03:18 +0000)
now.

Fixes stubify-1.mm on i686-apple-darwin*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158852 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/darwin.h

index 7fcbf04..f36d5ed 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-28  Mike Stump  <mikestump@comcast.net>
+
+       * config/i386/darwin.h (CC1_SPEC): Ignore -mdynamic-no-pic for
+       now.
+
 2010-04-28  Eric Botcazou  <ebotcazou@adacore.com>
 
        * lto-streamer-in.c (unpack_ts_type_value_fields): Replace test for
index f95d9c9..f2c8984 100644 (file)
@@ -92,6 +92,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef CC1_SPEC
 #define CC1_SPEC "%(cc1_cpu) \
+  %<mdynamic-no-pic " /* For now, we just ignore this flag */ " \
   %{!mkernel:%{!static:%{!mdynamic-no-pic:-fPIC}}} \
   %{!mmacosx-version-min=*:-mmacosx-version-min=%(darwin_minversion)} \
   %{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-symbols }}"