Do not compile ansi.c with clang as that compiler does not
recognise the -ansi command line option.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15628 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am
index 79f0e4e..54f2a7e 100644
--- a/none/tests/Makefile.am
+++ b/none/tests/Makefile.am
@@ -198,7 +198,7 @@
process_vm_readv_writev.stderr.exp process_vm_readv_writev.vgtest
check_PROGRAMS = \
- ansi args \
+ args \
async-sigs \
bitfield1 \
bug129866 bug234814 \
@@ -250,6 +250,11 @@
check_PROGRAMS += rlimit64_nofile
endif
+# clang does now know -ansi
+if ! COMPILER_IS_CLANG
+ check_PROGRAMS += ansi
+endif
+
if BUILD_IFUNC_TESTS
check_PROGRAMS += ifunc
endif