saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
parent
5d38e854c1
commit
e97cf0c848
@ -33,17 +33,7 @@ GAMES_GROUP=users
|
|||||||
## per-package settings
|
## per-package settings
|
||||||
|
|
||||||
# laptop-compat, keep this at the top
|
# laptop-compat, keep this at the top
|
||||||
if [[
|
if [[ "${MERGE_TYPE}" == "buildonly" ]]
|
||||||
"${CATEGORY}/${PN}" == "app-emulation/wine" ||
|
|
||||||
"${CATEGORY}/${PN}" == "app-office/libreoffice" ||
|
|
||||||
"${CATEGORY}/${PN}" == "dev-qt/qtwebkit" ||
|
|
||||||
"${CATEGORY}/${PN}" == "mail-client/thunderbird" ||
|
|
||||||
"${CATEGORY}/${PN}" == "net-libs/webkit-gtk" ||
|
|
||||||
"${CATEGORY}/${PN}" == "sys-devel/llvm" ||
|
|
||||||
"${CATEGORY}/${PN}" == "www-client/firefox" ||
|
|
||||||
"${CATEGORY}/${PN}" == "www-client/torbrowser" ||
|
|
||||||
"${CATEGORY}/${PN}" == "x11-libs/wxGTK"
|
|
||||||
]]
|
|
||||||
then
|
then
|
||||||
CFLAGS="-march=core-avx-i -O2 -pipe"
|
CFLAGS="-march=core-avx-i -O2 -pipe"
|
||||||
CXXFLAGS="-march=core-avx-i -O2 -pipe"
|
CXXFLAGS="-march=core-avx-i -O2 -pipe"
|
||||||
@ -56,8 +46,7 @@ if [[
|
|||||||
"${CATEGORY}/${PN}" != "games-engines/OpenJK"
|
"${CATEGORY}/${PN}" != "games-engines/OpenJK"
|
||||||
]]
|
]]
|
||||||
then
|
then
|
||||||
CFLAGS="${CFLAGS} -O3"
|
. /etc/paludis/env.conf.d/O3.conf
|
||||||
CXXFLAGS="${CXXFLAGS} -O3"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ -e /etc/paludis/hooks/setup_pkg_env.bash ]] && . /etc/paludis/hooks/setup_pkg_env.bash
|
[[ -e /etc/paludis/hooks/setup_pkg_env.bash ]] && . /etc/paludis/hooks/setup_pkg_env.bash
|
||||||
|
2
paludis/env.conf.d/O3.conf
Normal file
2
paludis/env.conf.d/O3.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
add-options CFLAGS -O3
|
||||||
|
add-options CXXFLAGS -O3
|
Loading…
Reference in New Issue
Block a user