https://bugs.kde.org/show_bug.cgi?id=527905

--- Comment #4 from Mark Wielaard <[email protected]> ---
Would something like:

diff --git a/none/tests/x86/Makefile.am b/none/tests/x86/Makefile.am
index 789119c4c..3471c1489 100644
--- a/none/tests/x86/Makefile.am
+++ b/none/tests/x86/Makefile.am
@@ -165,6 +165,7 @@ endif
 bug520856_x86_LDADD    = @LDFLAG_NO_PIE@
 cpuid_SOURCES          = cpuid_c.c cpuid_s.S
 fb_test_i386_LDADD     = -lm
+fb_test_i386_CFLAGS    = $(AM_CFLAGS) -O0 -fno-PIC
 # fpu_lazy_eflags must use these flags -- the bug only occurred with them.
 fpu_lazy_eflags_CFLAGS = $(AM_CFLAGS) -O2 -march=pentiumpro
 fxtract_CFLAGS         = $(AM_CFLAGS) @FLAG_W_NO_OVERFLOW@

Help here?

In general it is hard to see how to work around some of these extra compiler
flags for the testsuite because we try to build some of the tests deliberately
with or without some flags.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to