saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
parent
00cd99ceb2
commit
39604b794c
@ -31,8 +31,10 @@ GAMES_GROUP=users
|
||||
## per-package settings
|
||||
|
||||
# no as-needed
|
||||
if [[ "${CATEGORY}/${PN}" == "net-libs/libeXosip" ||
|
||||
"${CATEGORY}/${PN}" == "net-libs/libnetfilter_queue" ]]
|
||||
if [[
|
||||
"${CATEGORY}/${PN}" == "net-libs/libeXosip" ||
|
||||
"${CATEGORY}/${PN}" == "net-libs/libnetfilter_queue"
|
||||
]]
|
||||
then
|
||||
LDFLAGS="${LDFLAGS/-Wl,--as-needed/}"
|
||||
fi
|
||||
@ -44,10 +46,10 @@ if [[
|
||||
"${CATEGORY}/${PN}" == "dev-qt/qtwebkit" ||
|
||||
"${CATEGORY}/${PN}" == "mail-client/thunderbird" ||
|
||||
"${CATEGORY}/${PN}" == "net-libs/webkit-gtk" ||
|
||||
"${CATEGORY}/${PN}" == "sys-devel/llvm"
|
||||
"${CATEGORY}/${PN}" == "sys-devel/llvm" ||
|
||||
"${CATEGORY}/${PN}" == "www-client/firefox" ||
|
||||
"${CATEGORY}/${PN}" == "www-client/torbrowser" ||
|
||||
"${CATEGORY}/${PN}" == "x11-libs/wxGTK" ||
|
||||
"${CATEGORY}/${PN}" == "x11-libs/wxGTK"
|
||||
]]
|
||||
then
|
||||
CFLAGS="-march=core-avx-i -O2 -pipe"
|
||||
@ -142,8 +144,10 @@ fi
|
||||
|
||||
|
||||
# O3
|
||||
if [[ "${CATEGORY}" == "games-"* &&
|
||||
"${CATEGORY}/${PN}" != "games-engines/OpenJK" ]]
|
||||
if [[
|
||||
"${CATEGORY}" == "games-"* &&
|
||||
"${CATEGORY}/${PN}" != "games-engines/OpenJK"
|
||||
]]
|
||||
then
|
||||
CFLAGS="${CFLAGS} -O3"
|
||||
CXXFLAGS="${CXXFLAGS} -O3"
|
||||
@ -151,14 +155,15 @@ fi
|
||||
|
||||
|
||||
# debug
|
||||
if [[ "${CATEGORY}/${PN}" == "x11-libs/gtk+" ||
|
||||
"${CATEGORY}/${PN}" == "dev-util/glade" ||
|
||||
"${CATEGORY}/${PN}" == "dev-libs/libntru" ||
|
||||
"${CATEGORY}/${PN}" == "net-misc/curl" ||
|
||||
"${CATEGORY}/${PN}" == "games-engines/OpenJK" ||
|
||||
"${CATEGORY}/${PN}" == "net-libs/mbedtls" ||
|
||||
"${CATEGORY}/${PN}" == "x11-misc/spacefm"
|
||||
]]
|
||||
if [[
|
||||
"${CATEGORY}/${PN}" == "dev-libs/libntru" ||
|
||||
"${CATEGORY}/${PN}" == "dev-util/glade" ||
|
||||
"${CATEGORY}/${PN}" == "games-engines/OpenJK" ||
|
||||
"${CATEGORY}/${PN}" == "net-libs/mbedtls" ||
|
||||
"${CATEGORY}/${PN}" == "net-misc/curl" ||
|
||||
"${CATEGORY}/${PN}" == "x11-libs/gtk+" ||
|
||||
"${CATEGORY}/${PN}" == "x11-misc/spacefm"
|
||||
]]
|
||||
then
|
||||
CFLAGS="${CFLAGS} -Wall -g"
|
||||
CXXFLAGS="${CXXFLAGS} -Wall -g"
|
||||
@ -166,8 +171,9 @@ fi
|
||||
|
||||
|
||||
# full debug
|
||||
if [[ "${CATEGORY}/${PN}" == "games-fps/doomsday"
|
||||
]]
|
||||
if [[
|
||||
"${CATEGORY}/${PN}" == "games-fps/doomsday"
|
||||
]]
|
||||
then
|
||||
CFLAGS="${CFLAGS} -Wall -g -O0"
|
||||
CXXFLAGS="${CXXFLAGS} -Wall -g -O0"
|
||||
@ -175,17 +181,19 @@ fi
|
||||
|
||||
|
||||
# nodebug
|
||||
if [[ "${CATEGORY}/${PN}" == "dev-python/pypy" ||
|
||||
"${CATEGORY}/${PN}" == "games-strategy/freeorion" ||
|
||||
"${CATEGORY}/${PN}" == "www-client/chromium" ||
|
||||
"${CATEGORY}/${PN}" == "sys-devel/clang" ||
|
||||
"${CATEGORY}/${PN}" == "sys-devel/llvm" ||
|
||||
"${CATEGORY}/${PN}" == "www-client/firefox" ||
|
||||
"${CATEGORY}/${PN}" == "www-client/torbrowser" ||
|
||||
"${CATEGORY}/${PN}" == "mail-client/thunderbird" ||
|
||||
"${CATEGORY}/${PN}" == "app-office/libreoffice" ||
|
||||
"${CATEGORY}/${PN}" == "net-libs/webkit-gtk" ||
|
||||
"${CATEGORY}/${PN}" == "dev-qt/qtwebkit" ]]
|
||||
if [[
|
||||
"${CATEGORY}/${PN}" == "app-office/libreoffice" ||
|
||||
"${CATEGORY}/${PN}" == "dev-python/pypy" ||
|
||||
"${CATEGORY}/${PN}" == "dev-qt/qtwebkit" ||
|
||||
"${CATEGORY}/${PN}" == "games-strategy/freeorion" ||
|
||||
"${CATEGORY}/${PN}" == "mail-client/thunderbird" ||
|
||||
"${CATEGORY}/${PN}" == "net-libs/webkit-gtk" ||
|
||||
"${CATEGORY}/${PN}" == "sys-devel/clang" ||
|
||||
"${CATEGORY}/${PN}" == "sys-devel/llvm" ||
|
||||
"${CATEGORY}/${PN}" == "www-client/chromium" ||
|
||||
"${CATEGORY}/${PN}" == "www-client/firefox" ||
|
||||
"${CATEGORY}/${PN}" == "www-client/torbrowser"
|
||||
]]
|
||||
then
|
||||
CFLAGS="${CFLAGS} -g0"
|
||||
CXXFLAGS="${CXXFLAGS} -g0"
|
||||
@ -193,7 +201,9 @@ fi
|
||||
|
||||
|
||||
# parallel build broken
|
||||
if [[ "${CATEGORY}/${PN}" == "dev-libs/openssl" ]]
|
||||
if [[
|
||||
"${CATEGORY}/${PN}" == "dev-libs/openssl"
|
||||
]]
|
||||
then
|
||||
MAKEOPTS="-j1"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user