From 3acbf56bbab128d8ef037a7dcc87d91fe7354d14 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 20 Aug 2007 00:38:37 -0400 Subject: 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 --- etc/makepkg.conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/makepkg.conf.in') 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" -- cgit v1.2.3-24-g4f1b