From: Florian Krohm Date: Sat, 5 Sep 2015 08:41:32 +0000 (+0000) Subject: Do not compile ansi.c with clang as that compiler does not X-Git-Tag: svn/VALGRIND_3_11_0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43981d85f5cba4eb21ba367dfa4977f674132637;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am index 79f0e4efe4..54f2a7eec3 100644 --- a/none/tests/Makefile.am +++ b/none/tests/Makefile.am @@ -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