[portage] add ffmpeg and libav to CFLAGS=-O3 packages

This commit is contained in:
Fabio Erculiani 2011-11-03 10:59:41 +01:00
parent 8ca5551ffc
commit 97afd61da5
2 changed files with 11 additions and 0 deletions

9
conf/intel/portage/env/O3.conf vendored Normal file
View File

@ -0,0 +1,9 @@
# 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

View File

@ -1 +1,3 @@
www-servers/apache apache.conf
media-video/ffmpeg O3.conf
media-video/libav O3.conf