summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-08-20 00:38:37 -0400
committerDan McGee <dan@archlinux.org>2007-08-20 00:38:37 -0400
commit3acbf56bbab128d8ef037a7dcc87d91fe7354d14 (patch)
tree701257c6f71aa602e35c79b0785db7eaf238197c /etc
parentf81e619974ca47f6dba8c3002577447a71e0f1ec (diff)
Clean up architecture handling in configure.ac
Remove the need for two variables for the architecture-specific switches (things like "-march=i686") by combining it into one variable. Also allow configure to proceed with only a warning if we don't have presets for the detected architecture- it is kind of stupid to restrict ourselves like we had been. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/makepkg.conf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in
index 437aab0c..d13c3d69 100644
--- a/etc/makepkg.conf.in
+++ b/etc/makepkg.conf.in
@@ -29,8 +29,8 @@ CHOST="@CHOST@"
#-- Exclusive: will only run on @CARCHFLAGS@
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
-CFLAGS="-@ARCHSWITCH@=@CARCHFLAGS@ -mtune=generic -O2 -pipe"
-CXXFLAGS="-@ARCHSWITCH@=@CARCHFLAGS@ -mtune=generic -O2 -pipe"
+CFLAGS="@CARCHFLAGS@-mtune=generic -O2 -pipe"
+CXXFLAGS="@CARCHFLAGS@-mtune=generic -O2 -pipe"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"