summaryrefslogtreecommitdiff
path: root/config/mh-darwin
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2010-11-04 10:43:47 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-11-04 10:43:47 +0000
commitd8ed14ce4ecb92c728dca62a02090d5cf6f10fcf (patch)
tree01087337e00efbd28d652e41b8b6ad30963b110e /config/mh-darwin
parent0e6ac87ebaf95910b2a816aaddc80ed9f0d00fb4 (diff)
downloadgcc-d8ed14ce4ecb92c728dca62a02090d5cf6f10fcf.tar.gz
enable mdynamic-no-pic bootstrap for x86 Darwin
* configure.ac (*-*-darwin*): Use mh-darwin for all Darwin variants. * configure: Regenerate. * config/mh-ppc-darwin: Rename to mh-darwin. gcc: * gcc/configure.ac: Filter -mdynamic-no-pic from CFLAGS when testing for plugin capabilities. * gcc/configure: Regenerate. gcc/testsuite: * lib/plugin-support.exp (plugin-test-execute): Filter -mdynamic-no-pic from plugin build flags on Darwin targets. From-SVN: r166302
Diffstat (limited to 'config/mh-darwin')
-rw-r--r--config/mh-darwin5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/mh-darwin b/config/mh-darwin
new file mode 100644
index 00000000000..66f68b664a9
--- /dev/null
+++ b/config/mh-darwin
@@ -0,0 +1,5 @@
+# The -mdynamic-no-pic ensures that the compiler executable is built without
+# position-independent-code -- the usual default on Darwin. This fix speeds
+# compiles by 3-5%.
+
+BOOT_CFLAGS += -mdynamic-no-pic