2013-10-25 08:10:41 +04:00
|
|
|
# no-lto
|
2013-10-26 15:49:32 +04:00
|
|
|
if [[ true != false
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/sandbox
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/sysvinit
|
|
|
|
&& ${CATEGORY}/${PN} != dev-lang/perl
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/gawk
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/coreutils
|
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/elfutils
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/shadow
|
|
|
|
&& ${CATEGORY}/${PN} != dev-lang/python
|
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/glib
|
|
|
|
&& ${CATEGORY}/${PN} != sys-fs/e2fsprogs
|
|
|
|
&& ${CATEGORY}/${PN} != net-misc/openssh
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/hdparm
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/hwinfo
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/alsa-lib
|
|
|
|
&& ${CATEGORY}/${PN} != dev-util/valgrind
|
|
|
|
&& ${CATEGORY}/${PN} != sys-fs/mtools
|
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/boost
|
|
|
|
&& ${CATEGORY}/${PN} != app-text/rarian
|
|
|
|
&& ${CATEGORY}/${PN} != net-analyzer/nmap
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/pciutils
|
|
|
|
&& ${CATEGORY}/${PN} != sys-devel/distcc
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/libcdr
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/libvisio
|
|
|
|
&& ${CATEGORY}/${PN} != sys-devel/llvm
|
|
|
|
&& ${CATEGORY}/${PN} != app-admin/sudo
|
|
|
|
&& ${CATEGORY}/${PN} != x11-base/xorg-server
|
|
|
|
&& ${CATEGORY}/${PN} != sys-power/upower
|
|
|
|
&& ${CATEGORY}/${PN} != dev-qt/qtdeclarative
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/mesa
|
2013-10-29 12:13:19 +04:00
|
|
|
&& ${CATEGORY}/${PN}-${PV} != dev-lang/spidermonkey-1.8.5
|
2013-10-26 15:49:32 +04:00
|
|
|
&& ${CATEGORY}/${PN} != games-action/minetest
|
|
|
|
&& ${CATEGORY}/${PN} != app-emulation/wine
|
|
|
|
&& ${CATEGORY}/${PN} != app-emulation/virtualbox
|
|
|
|
&& ${CATEGORY}/${PN} != media-video/ffmpeg
|
|
|
|
&& ${CATEGORY}/${PN} != x11-libs/wxGTK
|
|
|
|
&& ${CATEGORY}/${PN} != www-client/firefox
|
|
|
|
&& ${CATEGORY}/${PN} != mail-client/thunderbird
|
|
|
|
&& ${CATEGORY}/${PN} != dev-tex/luatex
|
|
|
|
&& ${CATEGORY}/${PN} != dev-python/notify-python
|
|
|
|
&& ${CATEGORY}/${PN} != media-plugins/audacious-plugins
|
|
|
|
&& ${CATEGORY}/${PN} != media-video/avidemux
|
2013-10-30 13:23:10 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-video/mplayer
|
2013-10-26 15:49:32 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-video/mplayer2
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/avidemux-plugins
|
|
|
|
&& ${CATEGORY}/${PN} != net-p2p/eiskaltdcpp
|
|
|
|
&& ${CATEGORY}/${PN} != dev-qt/qtwebkit
|
|
|
|
&& ${CATEGORY}/${PN} != net-libs/webkit-gtk
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/avidemux-core
|
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/libaio # Required by Qemu
|
|
|
|
&& ${CATEGORY}/${PN} != dev-games/simgear
|
|
|
|
&& ${CATEGORY}/${PN} != dev-qt/qtgui
|
2013-10-28 12:47:35 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/libbsd
|
2013-10-28 13:13:07 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-misc/vlock
|
2013-10-28 15:36:39 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-cdr/cdrtools
|
2013-10-28 18:37:28 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-vcs/cvs
|
2013-10-28 18:39:12 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-libs/flac
|
2013-10-29 13:22:08 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-process/audit
|
2013-10-29 14:39:00 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-cpp/libcmis
|
2013-10-29 15:11:22 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-fs/e4rat
|
2013-10-29 15:26:03 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-antivirus/clamav
|
2013-10-29 16:08:01 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-boot/grub
|
2013-10-29 16:37:44 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-qt/qtscript
|
2013-10-29 18:11:42 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-libs/gpm
|
2013-10-30 10:34:25 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/xmlrpc-c
|
2013-10-30 17:46:13 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-tv/v4l-utils
|
2013-10-30 18:24:11 +04:00
|
|
|
&& ${CATEGORY}/${PN} != x11-drivers/xf86-video-intel
|
2013-10-31 11:53:58 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-gfx/fbida
|
2013-11-10 11:56:28 +04:00
|
|
|
&& ${CATEGORY}/${PN} != x11-misc/primus
|
2013-12-07 21:46:25 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-lang/ruby
|
2013-12-10 14:48:26 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/kmod
|
2013-12-13 13:31:54 +04:00
|
|
|
&& ${CATEGORY}/${PN} != x11-misc/x11vnc
|
2014-01-04 20:09:44 +04:00
|
|
|
&& ${CATEGORY}/${PN} != x11-libs/gtkglext
|
2014-01-07 03:07:53 +04:00
|
|
|
&& ${CATEGORY}/${PN} != gnome-base/gvfs
|
2014-03-25 14:09:28 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-text/aspell
|
2014-03-25 17:35:06 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/libsigsegv
|
2014-04-04 11:31:00 +04:00
|
|
|
&& ${CATEGORY}/${PN}-${PV} != sys-libs/db-4.5.20_p2
|
2014-04-21 20:39:20 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-emulation/qemu
|
2014-06-16 14:30:13 +04:00
|
|
|
&& ${CATEGORY}/${PN}-${PV} != sys-devel/gcc-4.8.3 # not enough memory on machines with < 8Gb RAM
|
2014-06-18 12:01:25 +04:00
|
|
|
&& ${CATEGORY}/${PN} != games-fps/urbanterror
|
2014-06-18 12:08:10 +04:00
|
|
|
&& ${CATEGORY}/${PN} != net-wireless/wireless-tools
|
2014-06-18 08:58:26 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-util/insight
|
2014-07-12 18:07:50 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-kernel/dracut
|
2014-08-13 22:26:33 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-video/vlc
|
2014-08-13 22:40:20 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-db/mysql
|
2014-08-19 13:55:04 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-lang/ghc
|
2014-08-19 12:04:29 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-admin/haskell-updater
|
2014-08-22 22:25:57 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-fs/lvm2
|
2014-09-01 15:08:24 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-util/dialog
|
2014-10-31 15:53:39 +03:00
|
|
|
&& ${CATEGORY}/${PN} != dev-python/pyorbit
|
2013-10-25 13:43:33 +04:00
|
|
|
]] ; then
|
2013-10-26 15:49:32 +04:00
|
|
|
tmp="-flto=4"
|
|
|
|
CFLAGS="${CFLAGS} ${tmp}"
|
|
|
|
CXXFLAGS="${CXXFLAGS} ${tmp}"
|
|
|
|
LDFLAGS="${LDFLAGS} ${tmp}"
|
2013-10-25 08:10:41 +04:00
|
|
|
fi
|
|
|
|
|
|
|
|
# No parallelize-loops-all
|
2013-10-26 15:49:32 +04:00
|
|
|
if [[ true != false
|
|
|
|
&& ${CATEGORY}/${PN} != dev-lang/perl
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/gawk # Internal error when emerging hyphen
|
|
|
|
&& ${CATEGORY}/${PN} != app-shells/bash
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/groff
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/libogg
|
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/openssl
|
|
|
|
&& ${CATEGORY}/${PN} != sys-libs/ncurses
|
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/expat
|
|
|
|
&& ${CATEGORY}/${PN} != media-video/dirac
|
|
|
|
&& ${CATEGORY}/${PN} != dev-games/openscenegraph
|
|
|
|
&& ${CATEGORY}/${PN} != dev-vcs/subversion
|
|
|
|
&& ${CATEGORY}/${PN} != media-video/ffmpeg
|
|
|
|
&& ${CATEGORY}/${PN} != media-video/mjpegtools
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/gegl
|
|
|
|
&& ${CATEGORY}/${PN} != media-gfx/graphviz
|
|
|
|
&& ${CATEGORY}/${PN} != media-sound/audacious
|
|
|
|
&& ${CATEGORY}/${PN} != app-text/texlive-core
|
2013-10-30 13:23:10 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-video/mplayer
|
2013-10-26 15:49:32 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-video/mplayer2
|
|
|
|
&& ${CATEGORY}/${PN} != media-video/vlc
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/avidemux-core
|
|
|
|
&& ${CATEGORY}/${PN} != games-fps/nexuiz
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/dbus
|
|
|
|
&& ${CATEGORY}/${PN} != dev-qt/qtgui
|
|
|
|
&& ${CATEGORY}/${PN} != media-gfx/inkscape
|
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/glib # epiphany hangs (GObject)
|
|
|
|
&& ${CATEGORY}/${PN} != www-client/firefox
|
2013-10-26 16:26:11 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-emulation/wine
|
2013-10-27 20:53:50 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-text/poppler # Evince hangs on www.fairchildsemi.com/ds/ND/NDS9435A.pdf
|
2013-10-28 17:31:03 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-libs/libmikmod
|
2013-10-28 17:46:20 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-libs/libvorbis
|
2013-10-28 19:03:04 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-libs/x264
|
2013-11-07 13:57:38 +04:00
|
|
|
&& ${CATEGORY}/${PN} != net-misc/openssh
|
2013-11-10 13:10:44 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-libs/sdl-mixer # Sauerbraten segfaults
|
2014-01-05 16:21:55 +04:00
|
|
|
&& ${CATEGORY}/${PN} != net-libs/webkit-gtk # Epiphany segfaults on 1.8.3, liferea segfaults when open contents in a new tab
|
2013-11-11 13:38:25 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sci-libs/gdal # Out of memory when building the package
|
2013-11-14 13:21:39 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-util/anjuta # anjuta-tags segfaults
|
2013-11-24 11:12:16 +04:00
|
|
|
&& ${CATEGORY}/${PN} != net-libs/libvncserver # Black rectangular artefacts in Remmina
|
2013-12-18 01:31:16 +04:00
|
|
|
&& ${CATEGORY}/${PN} != x11-base/xorg-server # Hangs in ~30% cases of Awesome Restarts (Ctrl+Alt+R)
|
2013-12-25 19:00:53 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-util/valgrind # Fails to run any elf file
|
2014-01-04 17:09:16 +04:00
|
|
|
&& ${CATEGORY}/${PN} != net-p2p/transmission # Segfaults after ~1-2 minutes when downloading something big
|
2014-01-05 16:18:24 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/icu # Liferea segfaults on double click
|
2014-01-21 18:21:34 +04:00
|
|
|
&& ${CATEGORY}/${PN} != dev-tex/luatex # luatex segfaults
|
2014-01-31 21:49:17 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-plugins/audacious-plugins
|
2014-05-10 08:45:02 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-fs/udev # Internal compiler error
|
2014-05-26 12:22:43 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-sound/mpd
|
2014-06-05 17:56:13 +04:00
|
|
|
&& ${CATEGORY}/${PN} != app-antivirus/clamav # freshclam never completes
|
2014-07-14 18:59:26 +04:00
|
|
|
&& ${CATEGORY}/${PN} != media-video/cinelerra # out of memory on compilation
|
2013-10-25 13:43:33 +04:00
|
|
|
]] ; then
|
2013-10-26 15:49:32 +04:00
|
|
|
tmp="-floop-parallelize-all"
|
|
|
|
CFLAGS="${CFLAGS} ${tmp}"
|
|
|
|
CXXFLAGS="${CXXFLAGS} ${tmp}"
|
|
|
|
LDFLAGS="${LDFLAGS} ${tmp}"
|
2013-10-25 08:10:41 +04:00
|
|
|
fi
|
|
|
|
|
|
|
|
# No OpenMP
|
2013-10-26 15:49:32 +04:00
|
|
|
if [[ true != false
|
|
|
|
&& ${CATEGORY}/${PN} != sys-apps/busybox
|
|
|
|
&& ${CATEGORY}/${PN} != media-libs/mesa
|
|
|
|
&& ${CATEGORY}/${PN} != app-emulation/wine
|
|
|
|
&& ${CATEGORY}/${PN} != dev-db/sqlite # Required to emerge avidemux-core
|
2014-04-15 16:44:20 +04:00
|
|
|
&& ${CATEGORY}/${PN} != net-libs/webkit-gtk # 2.2.6 isn't compiled on corka
|
2014-06-16 13:43:10 +04:00
|
|
|
&& ${CATEGORY}/${PN}-${PV} != sys-devel/gcc-4.8.3 # configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES
|
2014-11-07 14:25:26 +03:00
|
|
|
&& ${CATEGORY}/${PN} != sys-libs/readline # dev-lisp/gcl-2.6.{11,12} compilation goes into infinite loop in raw_pre_gcl
|
|
|
|
&& ${CATEGORY}/${PN} != dev-libs/gmp # dev-lisp/gcl-2.6.{11,12} compilation goes into infinite loop in raw_pre_gcl
|
2013-10-25 13:43:33 +04:00
|
|
|
]] ; then
|
2013-10-26 15:49:32 +04:00
|
|
|
tmp="-fopenmp"
|
|
|
|
CFLAGS="${CFLAGS} ${tmp}"
|
|
|
|
CXXFLAGS="${CFLAGS} ${tmp}"
|
|
|
|
LDFLAGS="${LDFLAGS} ${tmp}"
|
2013-10-25 08:10:41 +04:00
|
|
|
fi
|
|
|
|
|
|
|
|
# no-graphite
|
2013-10-26 15:49:32 +04:00
|
|
|
if [[ true != false
|
|
|
|
&& ${CATEGORY}/${PN} != undefined/undefined
|
2014-03-23 11:04:05 +04:00
|
|
|
&& ${CATEGORY}/${PN} != www-client/firefox
|
2013-10-25 13:43:33 +04:00
|
|
|
]] ; then
|
2013-10-26 15:49:32 +04:00
|
|
|
tmp="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
|
|
|
|
CFLAGS="${CFLAGS} ${tmp}"
|
|
|
|
CXXFLAGS="${CXXFLAGS} ${tmp}"
|
|
|
|
LDFLAGS="${LDFLAGS} ${tmp}"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# fno-tree-vectorize
|
|
|
|
if [[ true != false
|
|
|
|
&& ${CATEGORY}/${PN} != undefined/undefined
|
|
|
|
&& ${CATEGORY}/${PN} != www-client/firefox
|
2013-11-09 19:37:35 +04:00
|
|
|
&& ${CATEGORY}/${PN} != x11-base/xorg-server # Artefacts in Dia (app-office/dia) when drawing an ellipse
|
2013-11-15 22:25:15 +04:00
|
|
|
&& ${CATEGORY}/${PN} != sys-devel/llvm
|
2014-06-06 18:51:28 +04:00
|
|
|
&& ${CATEGORY}/${PN} != mail-client/thunderbird # striped images
|
2013-10-26 15:49:32 +04:00
|
|
|
]] ; then
|
|
|
|
tmp="-ftree-vectorize"
|
|
|
|
CFLAGS="${CFLAGS} ${tmp}"
|
|
|
|
CXXFLAGS="${CXXFLAGS} ${tmp}"
|
|
|
|
LDFLAGS="${LDFLAGS} ${tmp}"
|
2013-10-25 08:10:41 +04:00
|
|
|
fi
|