profile.bashrc fixed
This commit is contained in:
parent
89f228e10a
commit
1cddcc63e0
|
@ -1,107 +1,111 @@
|
||||||
# no-lto
|
# no-lto
|
||||||
if [[ ${CATEGORY}/${PN} = sys-apps/sandbox ]] \
|
if [[ true = false
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/sysvinit ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/sandbox
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-lang/perl ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/sysvinit
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/gawk ]] \
|
|| ${CATEGORY}/${PN} = dev-lang/perl
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/coreutils ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/gawk
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-libs/elfutils ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/coreutils
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/shadow ]] \
|
|| ${CATEGORY}/${PN} = dev-libs/elfutils
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-lang/python ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/shadow
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-libs/glib ]] \
|
|| ${CATEGORY}/${PN} = dev-lang/python
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-fs/e2fsprogs ]] \
|
|| ${CATEGORY}/${PN} = dev-libs/glib
|
||||||
|| [[ ${CATEGORY}/${PN} = net-misc/openssh ]] \
|
|| ${CATEGORY}/${PN} = sys-fs/e2fsprogs
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/hdparm ]] \
|
|| ${CATEGORY}/${PN} = net-misc/openssh
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/hwinfo ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/hdparm
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/alsa-lib ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/hwinfo
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-util/valgrind ]] \
|
|| ${CATEGORY}/${PN} = media-libs/alsa-lib
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-fs/mtools ]] \
|
|| ${CATEGORY}/${PN} = dev-util/valgrind
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-libs/boost ]] \
|
|| ${CATEGORY}/${PN} = sys-fs/mtools
|
||||||
|| [[ ${CATEGORY}/${PN} = app-text/rarian ]] \
|
|| ${CATEGORY}/${PN} = dev-libs/boost
|
||||||
|| [[ ${CATEGORY}/${PN} = net-analyzer/nmap ]] \
|
|| ${CATEGORY}/${PN} = app-text/rarian
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/pciutils ]] \
|
|| ${CATEGORY}/${PN} = net-analyzer/nmap
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-devel/distcc ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/pciutils
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/libcdr ]] \
|
|| ${CATEGORY}/${PN} = sys-devel/distcc
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/libvisio ]] \
|
|| ${CATEGORY}/${PN} = media-libs/libcdr
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-devel/llvm ]] \
|
|| ${CATEGORY}/${PN} = media-libs/libvisio
|
||||||
|| [[ ${CATEGORY}/${PN} = app-admin/sudo ]] \
|
|| ${CATEGORY}/${PN} = sys-devel/llvm
|
||||||
|| [[ ${CATEGORY}/${PN} = x11-base/xorg-server ]] \
|
|| ${CATEGORY}/${PN} = app-admin/sudo
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-power/upower ]] \
|
|| ${CATEGORY}/${PN} = x11-base/xorg-server
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-qt/qtdeclarative ]] \
|
|| ${CATEGORY}/${PN} = sys-power/upower
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/mesa ]] \
|
|| ${CATEGORY}/${PN} = dev-qt/qtdeclarative
|
||||||
|| [[ ${CATEGORY}/${PN}/${PV} = dev-lang/spidermonkey-1.8.5 ]] \
|
|| ${CATEGORY}/${PN} = media-libs/mesa
|
||||||
|| [[ ${CATEGORY}/${PN} = games-action/minetest ]] \
|
|| ${CATEGORY}/${PN}/${PV} = dev-lang/spidermonkey-1.8.5
|
||||||
|| [[ ${CATEGORY}/${PN} = app-emulation/wine ]] \
|
|| ${CATEGORY}/${PN} = games-action/minetest
|
||||||
|| [[ ${CATEGORY}/${PN} = app-emulation/virtualbox ]] \
|
|| ${CATEGORY}/${PN} = app-emulation/wine
|
||||||
|| [[ ${CATEGORY}/${PN} = media-video/ffmpeg ]] \
|
|| ${CATEGORY}/${PN} = app-emulation/virtualbox
|
||||||
|| [[ ${CATEGORY}/${PN} = x11-libs/wxGTK ]] \
|
|| ${CATEGORY}/${PN} = media-video/ffmpeg
|
||||||
|| [[ ${CATEGORY}/${PN} = www-client/firefox ]] \
|
|| ${CATEGORY}/${PN} = x11-libs/wxGTK
|
||||||
|| [[ ${CATEGORY}/${PN} = mail-client/thunderbird ]] \
|
|| ${CATEGORY}/${PN} = www-client/firefox
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-tex/luatex ]] \
|
|| ${CATEGORY}/${PN} = mail-client/thunderbird
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-python/notify-python ]] \
|
|| ${CATEGORY}/${PN} = dev-tex/luatex
|
||||||
|| [[ ${CATEGORY}/${PN} = media-plugins/audacious-plugins ]] \
|
|| ${CATEGORY}/${PN} = dev-python/notify-python
|
||||||
|| [[ ${CATEGORY}/${PN} = media-video/avidemux ]] \
|
|| ${CATEGORY}/${PN} = media-plugins/audacious-plugins
|
||||||
|| [[ ${CATEGORY}/${PN} = media-video/mplayer2 ]] \
|
|| ${CATEGORY}/${PN} = media-video/avidemux
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/avidemux-plugins ]] \
|
|| ${CATEGORY}/${PN} = media-video/mplayer2
|
||||||
|| [[ ${CATEGORY}/${PN} = net-p2p/eiskaltdcpp ]] \
|
|| ${CATEGORY}/${PN} = media-libs/avidemux-plugins
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-qt/qtwebkit ]] \
|
|| ${CATEGORY}/${PN} = net-p2p/eiskaltdcpp
|
||||||
|| [[ ${CATEGORY}/${PN} = net-libs/webkit-gtk ]] \
|
|| ${CATEGORY}/${PN} = dev-qt/qtwebkit
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/avidemux-core ]] \
|
|| ${CATEGORY}/${PN} = net-libs/webkit-gtk
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-libs/libaio ]] \ # Required by Qemu
|
|| ${CATEGORY}/${PN} = media-libs/avidemux-core
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-games/simgear ]] \
|
|| ${CATEGORY}/${PN} = dev-libs/libaio # Required by Qemu
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-qt/qtgui ]] \
|
|| ${CATEGORY}/${PN} = dev-games/simgear
|
||||||
; then
|
|| ${CATEGORY}/${PN} = dev-qt/qtgui
|
||||||
|
]] ; then
|
||||||
CFLAGS="${CFLAGS} -fno-lto -fno-use-linker-plugin"
|
CFLAGS="${CFLAGS} -fno-lto -fno-use-linker-plugin"
|
||||||
CXXFLAGS="${CXXFLAGS} -fno-lto -fno-use-linker-plugin"
|
CXXFLAGS="${CXXFLAGS} -fno-lto -fno-use-linker-plugin"
|
||||||
LDFLAGS="${LDFLAGS} -fno-lto -fno-use-linker-plugin"
|
LDFLAGS="${LDFLAGS} -fno-lto -fno-use-linker-plugin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# No parallelize-loops-all
|
# No parallelize-loops-all
|
||||||
if [[ ${CATEGORY}/${PN} = dev-lang/perl ]] \
|
if [[ true = false
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/gawk ]] \ # Internal error when emerging hyphen
|
|| ${CATEGORY}/${PN} = dev-lang/perl
|
||||||
|| [[ ${CATEGORY}/${PN} = app-shells/bash ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/gawk # Internal error when emerging hyphen
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/groff ]] \
|
|| ${CATEGORY}/${PN} = app-shells/bash
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/libogg ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/groff
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-libs/openssl ]] \
|
|| ${CATEGORY}/${PN} = media-libs/libogg
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-libs/ncurses ]] \
|
|| ${CATEGORY}/${PN} = dev-libs/openssl
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-libs/expat ]] \
|
|| ${CATEGORY}/${PN} = sys-libs/ncurses
|
||||||
|| [[ ${CATEGORY}/${PN} = media-video/dirac ]] \
|
|| ${CATEGORY}/${PN} = dev-libs/expat
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-games/openscenegraph ]] \
|
|| ${CATEGORY}/${PN} = media-video/dirac
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-vcs/subversion ]] \
|
|| ${CATEGORY}/${PN} = dev-games/openscenegraph
|
||||||
|| [[ ${CATEGORY}/${PN} = media-video/ffmpeg ]] \
|
|| ${CATEGORY}/${PN} = dev-vcs/subversion
|
||||||
|| [[ ${CATEGORY}/${PN} = media-video/mjpegtools ]] \
|
|| ${CATEGORY}/${PN} = media-video/ffmpeg
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/gegl ]] \
|
|| ${CATEGORY}/${PN} = media-video/mjpegtools
|
||||||
|| [[ ${CATEGORY}/${PN} = media-gfx/graphviz ]] \
|
|| ${CATEGORY}/${PN} = media-libs/gegl
|
||||||
|| [[ ${CATEGORY}/${PN} = media-sound/audacious ]] \
|
|| ${CATEGORY}/${PN} = media-gfx/graphviz
|
||||||
|| [[ ${CATEGORY}/${PN} = app-text/texlive-core ]] \
|
|| ${CATEGORY}/${PN} = media-sound/audacious
|
||||||
|| [[ ${CATEGORY}/${PN} = media-video/mplayer2 ]] \
|
|| ${CATEGORY}/${PN} = app-text/texlive-core
|
||||||
|| [[ ${CATEGORY}/${PN} = media-video/vlc ]] \
|
|| ${CATEGORY}/${PN} = media-video/mplayer2
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/avidemux-core ]] \
|
|| ${CATEGORY}/${PN} = media-video/vlc
|
||||||
|| [[ ${CATEGORY}/${PN} = games-fps/nexuiz ]] \
|
|| ${CATEGORY}/${PN} = media-libs/avidemux-core
|
||||||
|| [[ ${CATEGORY}/${PN} = sys-apps/dbus ]] \
|
|| ${CATEGORY}/${PN} = games-fps/nexuiz
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-qt/qtgui ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/dbus
|
||||||
|| [[ ${CATEGORY}/${PN} = media-gfx/inkscape ]] \
|
|| ${CATEGORY}/${PN} = dev-qt/qtgui
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-libs/glib ]] \ # epiphany hangs (GObject)
|
|| ${CATEGORY}/${PN} = media-gfx/inkscape
|
||||||
|| [[ ${CATEGORY}/${PN} = www-client/firefox ]] \
|
|| ${CATEGORY}/${PN} = dev-libs/glib # epiphany hangs (GObject)
|
||||||
; then
|
|| ${CATEGORY}/${PN} = www-client/firefox
|
||||||
|
]] ; then
|
||||||
CFLAGS="${CFLAGS} -fno-loop-parallelize-all"
|
CFLAGS="${CFLAGS} -fno-loop-parallelize-all"
|
||||||
CXXFLAGS="${CXXFLAGS} -fno-loop-parallelize-all"
|
CXXFLAGS="${CXXFLAGS} -fno-loop-parallelize-all"
|
||||||
LDFLAGS="${LDFLAGS} -fno-loop-parallelize-all"
|
LDFLAGS="${LDFLAGS} -fno-loop-parallelize-all"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# No OpenMP
|
# No OpenMP
|
||||||
if [[ ${CATEGORY}/${PN} = sys-apps/busybox ]] \
|
if [[ true = false
|
||||||
|| [[ ${CATEGORY}/${PN} = media-libs/mesa ]] \
|
|| ${CATEGORY}/${PN} = sys-apps/busybox
|
||||||
|| [[ ${CATEGORY}/${PN} = app-emulation/wine ]] \
|
|| ${CATEGORY}/${PN} = media-libs/mesa
|
||||||
|| [[ ${CATEGORY}/${PN} = dev-db/sqlite ]] \ # Required to emerge avidemux-core
|
|| ${CATEGORY}/${PN} = app-emulation/wine
|
||||||
; then
|
|| ${CATEGORY}/${PN} = dev-db/sqlite # Required to emerge avidemux-core
|
||||||
|
]] ; then
|
||||||
CFLAGS="${CFLAGS} -fno-openmp"
|
CFLAGS="${CFLAGS} -fno-openmp"
|
||||||
CXXFLAGS="${CFLAGS} -fno-openmp"
|
CXXFLAGS="${CFLAGS} -fno-openmp"
|
||||||
LDFLAGS="${LDFLAGS} -fno-openmp"
|
LDFLAGS="${LDFLAGS} -fno-openmp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# no-graphite
|
# no-graphite
|
||||||
if [[ ${CATEGORY}/${PN} = undefined/undefined ]] \
|
if [[ true = false
|
||||||
; then
|
|| ${CATEGORY}/${PN} = undefined/undefined
|
||||||
|
]] ; then
|
||||||
CFLAGS="${CFLAGS} -fno-loop-interchange -fno-tree-loop-distribution -fno-loop-strip-mine -fno-loop-block"
|
CFLAGS="${CFLAGS} -fno-loop-interchange -fno-tree-loop-distribution -fno-loop-strip-mine -fno-loop-block"
|
||||||
CXXFLAGS="${CXXFLAGS} -fno-loop-interchange -fno-tree-loop-distribution -fno-loop-strip-mine -fno-loop-block"
|
CXXFLAGS="${CXXFLAGS} -fno-loop-interchange -fno-tree-loop-distribution -fno-loop-strip-mine -fno-loop-block"
|
||||||
LDFLAGS="${LDFLAGS} -fno-loop-interchange -fno-tree-loop-distribution -fno-loop-strip-mine -fno-loop-block"
|
LDFLAGS="${LDFLAGS} -fno-loop-interchange -fno-tree-loop-distribution -fno-loop-strip-mine -fno-loop-block"
|
||||||
|
|
Loading…
Reference in New Issue