[portage] Portage is nazi, cannot use conditionals in .conf files
This commit is contained in:
parent
97afd61da5
commit
980f106e42
8
conf/intel/portage/env/O3.conf
vendored
8
conf/intel/portage/env/O3.conf
vendored
@ -1,9 +1,3 @@
|
|||||||
# Set -O3 for perf. critical packages
|
# Set -O3 for perf. critical packages
|
||||||
arch="$(uname -m)"
|
CFLAGS="-O3 -pipe"
|
||||||
if [[ "${arch}" = "x86_64" ]]; then
|
|
||||||
CFLAGS="-O3 -march=x86-64 -pipe"
|
|
||||||
CXXFLAGS="${CFLAGS}"
|
CXXFLAGS="${CFLAGS}"
|
||||||
elif [[ "${arch}" = "i686" ]]; then
|
|
||||||
CFLAGS="-O3 -march=i686 -pipe"
|
|
||||||
CXXFLAGS="${CFLAGS}"
|
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user