From 980f106e4233c9aea9098266ca34fcfc3eddfde6 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 3 Nov 2011 11:11:55 +0100 Subject: [PATCH] [portage] Portage is nazi, cannot use conditionals in .conf files --- conf/intel/portage/env/O3.conf | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/conf/intel/portage/env/O3.conf b/conf/intel/portage/env/O3.conf index f22a640..d0b2570 100644 --- a/conf/intel/portage/env/O3.conf +++ b/conf/intel/portage/env/O3.conf @@ -1,9 +1,3 @@ # Set -O3 for perf. critical packages -arch="$(uname -m)" -if [[ "${arch}" = "x86_64" ]]; then - CFLAGS="-O3 -march=x86-64 -pipe" - CXXFLAGS="${CFLAGS}" -elif [[ "${arch}" = "i686" ]]; then - CFLAGS="-O3 -march=i686 -pipe" - CXXFLAGS="${CFLAGS}" -fi +CFLAGS="-O3 -pipe" +CXXFLAGS="${CFLAGS}"