]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
regtest: fix a warning building none/tests/nestedfns on some platforms
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 6 Dec 2024 20:24:50 +0000 (21:24 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 6 Dec 2024 20:24:50 +0000 (21:24 +0100)
none/tests/Makefile.am

index 53a6e1f6bc952ce53d50982903b17c977b9fe370..fa0128d3a8e46a625ff5f7463fd72c72c368ff2d 100644 (file)
@@ -335,6 +335,7 @@ endif
 
 if HAVE_NESTED_FUNCTIONS
    check_PROGRAMS += nestedfns
+   nestedfns_LDFLAGS = -Wl,-z,noexecstack
 endif
 
 # This doesn't appear to be compilable on Darwin.