aboutsummaryrefslogtreecommitdiff
path: root/config/mh-ppc-darwin
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2004-09-10 17:49:29 +0000
committerDJ Delorie <dj@redhat.com>2004-09-10 17:49:29 +0000
commit4a233bd8fcf121846ec87cdfa8e337904452fd97 (patch)
tree7aa249d1122c064ff76df0e4493bd5aa68917152 /config/mh-ppc-darwin
parentbe75bbe1691231ba95210defdcb3d2848faab73b (diff)
downloadgdb-4a233bd8fcf121846ec87cdfa8e337904452fd97.zip
gdb-4a233bd8fcf121846ec87cdfa8e337904452fd97.tar.gz
gdb-4a233bd8fcf121846ec87cdfa8e337904452fd97.tar.bz2
2004-08-31 Robert Bowdidge <bowdidge@apple.com>
* mh-ppc-darwin: Add file, and override BOOT_CFLAGS.
Diffstat (limited to 'config/mh-ppc-darwin')
-rw-r--r--config/mh-ppc-darwin6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/mh-ppc-darwin b/config/mh-ppc-darwin
new file mode 100644
index 0000000..44fd620
--- /dev/null
+++ b/config/mh-ppc-darwin
@@ -0,0 +1,6 @@
+# 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=-g -O2 -mdynamic-no-pic
+