]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Do not compile ansi.c with clang as that compiler does not
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 5 Sep 2015 08:41:32 +0000 (08:41 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 5 Sep 2015 08:41:32 +0000 (08:41 +0000)
recognise the -ansi command line option.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15628

none/tests/Makefile.am

index 79f0e4efe4be151968e878e239c7de88693ea3d4..54f2a7eec34753c1b98c5e6f1b591acce625435a 100644 (file)
@@ -198,7 +198,7 @@ EXTRA_DIST = \
        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 @@ if ! VGCONF_OS_IS_DARWIN
    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