From yszhou4tech at gmail.com Wed Dec 7 08:08:39 2016 From: yszhou4tech at gmail.com (Yousong Zhou) Date: Wed, 7 Dec 2016 16:08:39 +0800 Subject: [Pixman] [PATCH] build: fix detection of mips dspr2 feature Message-ID: <1481098119-5768-1-git-send-email-yszhou4tech@gmail.com> 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 --- 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