From 0464f746e87fa29a1e3a88e9d3c1ff102b559528 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 29 May 2011 21:25:58 -0400 Subject: Don't build AVX tests with old compilers --- elf/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'elf/Makefile') diff --git a/elf/Makefile b/elf/Makefile index 7f03b5d66e..6d314a9ab7 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -233,7 +233,10 @@ ifneq ($(selinux-enabled),1) tests-execstack-yes = tst-execstack tst-execstack-needed tst-execstack-prog endif ifeq (x86_64,$(config-machine)) -tests += tst-audit3 tst-audit4 tst-audit5 tst-audit6 tst-audit7 +tests += tst-audit3 tst-audit4 tst-audit5 +ifeq (yes,$(config-cflags-avx)) +tests += tst-audit6 tst-audit7 +endif endif endif tests: $(objpfx)tst-leaks1-mem $(objpfx)noload-mem -- cgit 1.4.1