[portage] add ffmpeg and libav to CFLAGS=-O3 packages
This commit is contained in:
parent
8ca5551ffc
commit
97afd61da5
9
conf/intel/portage/env/O3.conf
vendored
Normal file
9
conf/intel/portage/env/O3.conf
vendored
Normal 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
|
@ -1 +1,3 @@
|
||||
www-servers/apache apache.conf
|
||||
media-video/ffmpeg O3.conf
|
||||
media-video/libav O3.conf
|
||||
|
Loading…
Reference in New Issue
Block a user