aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/darwin.h
diff options
context:
space:
mode:
authorMike Stump <mikestump@comcast.net>2010-04-29 03:18:30 +0000
committerMike Stump <mrs@gcc.gnu.org>2010-04-29 03:18:30 +0000
commitda7f26979ced4cd1f54e92aa353c00a85af93dc7 (patch)
tree617d6451275fa72989fa93ee57b7992cac166a26 /gcc/config/i386/darwin.h
parenta143bf2747f3108a01d977100a64f6e8c30f24ab (diff)
downloadgcc-da7f26979ced4cd1f54e92aa353c00a85af93dc7.zip
gcc-da7f26979ced4cd1f54e92aa353c00a85af93dc7.tar.gz
gcc-da7f26979ced4cd1f54e92aa353c00a85af93dc7.tar.bz2
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
Diffstat (limited to 'gcc/config/i386/darwin.h')
-rw-r--r--gcc/config/i386/darwin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h
index f95d9c9..f2c8984 100644
--- a/gcc/config/i386/darwin.h
+++ b/gcc/config/i386/darwin.h
@@ -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 }}"