about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStan Shebs <stanshebs@google.com>2018-01-18 15:17:13 -0800
committerStan Shebs <stanshebs@google.com>2019-04-30 13:29:13 -0700
commit0d8743de855c845163af471adc4e155428237d55 (patch)
treea9ac91112b0a4f3e7f6b667866d11e5e4a42243d
parent8603348fa394a391171d95c8a9c5b23eea3a643e (diff)
downloadglibc-0d8743de855c845163af471adc4e155428237d55.tar.gz
glibc-0d8743de855c845163af471adc4e155428237d55.tar.xz
glibc-0d8743de855c845163af471adc4e155428237d55.zip
Skip execstack test, depends on nested function
-rw-r--r--elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 2d7162d3cc..d09d8987f1 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -201,9 +201,11 @@ endif
 test-srcs = tst-pathopt
 selinux-enabled := $(shell cat /selinux/enforce 2> /dev/null)
 ifneq ($(selinux-enabled),1)
+ifneq ($(with-clang),yes)
 tests-execstack-yes = tst-execstack tst-execstack-needed tst-execstack-prog
 endif
 endif
+endif
 tests += $(tests-execstack-$(have-z-execstack))
 ifeq ($(run-built-tests),yes)
 tests-special += $(objpfx)tst-leaks1-mem.out \