aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-29 21:25:58 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-29 21:25:58 -0400
commit0464f746e87fa29a1e3a88e9d3c1ff102b559528 (patch)
tree64cae4e1e77c65f57eef554264f2638d0dd86968 /elf
parent7d17596c198f11fa85cbcf9587443f262e63b616 (diff)
downloadglibc-0464f746e87fa29a1e3a88e9d3c1ff102b559528.tar
glibc-0464f746e87fa29a1e3a88e9d3c1ff102b559528.tar.gz
glibc-0464f746e87fa29a1e3a88e9d3c1ff102b559528.tar.bz2
glibc-0464f746e87fa29a1e3a88e9d3c1ff102b559528.zip
Don't build AVX tests with old compilers
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile5
1 files changed, 4 insertions, 1 deletions
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