darwin.h (CC1_SPEC): Ignore -mdynamic-no-pic for now.

* config/i386/darwin.h (CC1_SPEC): Ignore -mdynamic-no-pic for
	now.

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

From-SVN: r158852
This commit is contained in:
Mike Stump 2010-04-29 03:18:30 +00:00 committed by Mike Stump
parent a143bf2747
commit da7f26979c
2 changed files with 6 additions and 0 deletions

View 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

View 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 }}"