diff options
author | Zong Li <zong@andestech.com> | 2018-10-25 13:08:24 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-10-25 13:08:24 +0200 |
commit | 41432ebe15b4263866d560a9242fb08d2146fde5 (patch) | |
tree | 4fe5441d875113123b64fd8da7948642916df1c9 /elf/Makefile | |
parent | d026efea0f4b9c4c6c8dadd4c61c1a12148792fc (diff) | |
download | glibc-41432ebe15b4263866d560a9242fb08d2146fde5.tar.gz |
elf: Fix the ld flags not be applied to tst-execstack-mod.so
The Makefile variable name lacked the file extension (.so). As a
result, tst-execstack-mod.so was not linked with the -z execstack
flag.
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile index 455ec730fc..e86874492e 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1012,7 +1012,7 @@ $(objpfx)tst-execstack: $(libdl) $(objpfx)tst-execstack.out: $(objpfx)tst-execstack-mod.so CPPFLAGS-tst-execstack.c += -DUSE_PTHREADS=0 LDFLAGS-tst-execstack = -Wl,-z,noexecstack -LDFLAGS-tst-execstack-mod = -Wl,-z,execstack +LDFLAGS-tst-execstack-mod.so = -Wl,-z,execstack $(objpfx)tst-execstack-needed: $(objpfx)tst-execstack-mod.so LDFLAGS-tst-execstack-needed = -Wl,-z,noexecstack |