The "0602ResultantFanProjection" test hangs on x86, leading to a build
failure. Disabling this test looks as simple as deleting it from the
source tree, which the ebuild now does in src_prepare().
Bug: https://bugs.gentoo.org/717112
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
pkg_setup() {
tc-export CC CXX
+
+ # This should really go in cppflags, but that doesn't work with
+ # gfan's hand-written Makefile.
append-cxxflags -DNOCDDPREFIX
}
+src_prepare() {
+ default
+
+ # This test hangs on x86, bug 717112.
+ rm -r testsuite/0602ResultantFanProjection || \
+ die "unable to disable test 0602ResultantFanProjection"
+}
+
src_configure() {
# The upstream Makefile says that GCC produces bad code with -O3.
replace-flags "-O3" "-O2"