summaryrefslogtreecommitdiff
path: root/config/mh-darwin
diff options
context:
space:
mode:
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-04 10:43:47 +0000
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-04 10:43:47 +0000
commit16463c8dccb07d1219cca1c3bfba4a68fe4e87fc (patch)
tree01087337e00efbd28d652e41b8b6ad30963b110e /config/mh-darwin
parentf07666e1203a50ae445025050b7e12311db6bbd0 (diff)
downloadgcc-16463c8dccb07d1219cca1c3bfba4a68fe4e87fc.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166302 138bc75d-0d04-0410-961f-82ee72b054a4
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