public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add $(tests-execstack-$(have-z-execstack)) after defined [BZ #22998]
@ 2018-03-24 14:09 H.J. Lu
  2018-03-24 15:22 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2018-03-24 14:09 UTC (permalink / raw)
  To: GNU C Library

When $(tests-execstack-$(have-z-execstack)) is added to tests before
it is defined, it is empty.  This patch adds it to tests after it is
defined.

OK for master?

H.J.
---
	[BZ #22998]
	* elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
	after it is defined.
---
 elf/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elf/Makefile b/elf/Makefile
index 9bdb9220c7..59bcca5046 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -174,7 +174,7 @@ tests += restest1 preloadtest loadfail multiload origtest resolvfail \
 	 tst-tls4 tst-tls5 \
 	 tst-tls10 tst-tls11 tst-tls12 tst-tls13 tst-tls14 tst-tls15 \
 	 tst-tls16 tst-tls17 tst-tls18 tst-tls19 tst-tls-dlinfo \
-	 tst-align tst-align2 $(tests-execstack-$(have-z-execstack)) \
+	 tst-align tst-align2 \
 	 tst-dlmodcount tst-dlopenrpath tst-deep1 \
 	 tst-dlmopen1 tst-dlmopen3 \
 	 unload3 unload4 unload5 unload6 unload7 unload8 tst-global1 order2 \
@@ -202,6 +202,7 @@ ifneq ($(selinux-enabled),1)
 tests-execstack-yes = tst-execstack tst-execstack-needed tst-execstack-prog
 endif
 endif
+tests += $(tests-execstack-$(have-z-execstack))
 ifeq ($(run-built-tests),yes)
 tests-special += $(objpfx)tst-leaks1-mem.out \
 		 $(objpfx)tst-leaks1-static-mem.out $(objpfx)noload-mem.out \
-- 
2.14.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add $(tests-execstack-$(have-z-execstack)) after defined [BZ #22998]
  2018-03-24 14:09 [PATCH] Add $(tests-execstack-$(have-z-execstack)) after defined [BZ #22998] H.J. Lu
@ 2018-03-24 15:22 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2018-03-24 15:22 UTC (permalink / raw)
  To: H.J. Lu; +Cc: GNU C Library, H.J. Lu

On Mär 24 2018, "H.J. Lu" <hongjiu.lu@intel.com> wrote:

> 	[BZ #22998]
> 	* elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
> 	after it is defined.

Ok.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-24 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-24 14:09 [PATCH] Add $(tests-execstack-$(have-z-execstack)) after defined [BZ #22998] H.J. Lu
2018-03-24 15:22 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).