aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorAdam Conrad <adconrad@0c3.net>2013-01-22 23:05:33 -0700
committerAdam Conrad <adconrad@0c3.net>2013-01-22 23:05:33 -0700
commit5655a0b58e1ba27b05c94c684c74b7078cb814d5 (patch)
treed783e8dcf08c8bd3ed93de7f8a7c8aa42b36f026 /elf
parent052aff95782fefe9c63566471063e8b20836bfb8 (diff)
downloadglibc-5655a0b58e1ba27b05c94c684c74b7078cb814d5.zip
glibc-5655a0b58e1ba27b05c94c684c74b7078cb814d5.tar.gz
glibc-5655a0b58e1ba27b05c94c684c74b7078cb814d5.tar.bz2
Build elf/tst-array2 and elf/tst-array5 with --no-as-needed
* elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed). (LDFLAGS-tst-array5): Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 84f8397..6d4b365 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -849,6 +849,9 @@ LDFLAGS-tst-execstack-needed = -Wl,-z,noexecstack
LDFLAGS-tst-execstack-prog = -Wl,-z,execstack
endif
+LDFLAGS-tst-array2 = $(no-as-needed)
+LDFLAGS-tst-array5 = $(no-as-needed)
+
$(objpfx)tst-array1.out: tst-array1.exp $(objpfx)tst-array1
$(test-program-cmd) > $@
cmp $@ tst-array1.exp > /dev/null