summaryrefslogtreecommitdiff
path: root/src/main.aap
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-26 23:59:20 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-26 23:59:20 +0000
commita226a6dd9f63c28ab6d82cf895f69d3daad98801 (patch)
treeb378dd33d134dd0674bcb46b515d18a1a45f3885 /src/main.aap
parenta562149de3f44a24669ce191c9d557f979da8556 (diff)
downloadvim-git-a226a6dd9f63c28ab6d82cf895f69d3daad98801.tar.gz
updated for version 7.0208
Diffstat (limited to 'src/main.aap')
-rw-r--r--src/main.aap5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.aap b/src/main.aap
index d2c7d37f3..1a3654579 100644
--- a/src/main.aap
+++ b/src/main.aap
@@ -73,6 +73,11 @@
# Include the recipe that autoconf generated.
:include auto/config.aap
+# Unfortunately "-M" doesn't work when building for two architectures. Switch
+# back to PPC only.
+@if string.find(_no.CPPFLAGS, "-arch i386 -arch ppc") >= 0:
+ CPPFLAGS = `string.replace(_no.CPPFLAGS, "-arch i386 -arch ppc", "-arch ppc")`
+
# A "PREFIX=dir" argument overrules the value of $prefix
@if _no.get("PREFIX"):
prefix = $PREFIX