When the toolchain has dspr2 support then the compile test will succeed with, e.g. `-march=24kc -mdspr2`. But it may fail later at compile-time without the `-mdspr2` switch, or worse at runtime where dspr2 support is not present.
Let the users decide whether they want `-mdspr2` to be part of cflags. Signed-off-by: Yousong Zhou <[email protected]> --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index e833e45..68b3ea3 100644 --- a/configure.ac +++ b/configure.ac @@ -735,7 +735,6 @@ dnl Check if assembler is gas compatible and supports MIPS DSPr2 instructions have_mips_dspr2=no AC_MSG_CHECKING(whether to use MIPS DSPr2 assembler) xserver_save_CFLAGS=$CFLAGS -CFLAGS="-mdspr2 $CFLAGS" AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #if !(defined(__mips__) && __mips_isa_rev >= 2) -- 2.6.4 _______________________________________________ Pixman mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/pixman
