aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-01-08 08:32:06 -0800
committerRichard Henderson <rth@twiddle.net>2015-01-08 08:32:44 -0800
commitb92058573b4b26ad0700c73d0ba33a796556e7fa (patch)
tree54bc074b0dbafee94742c935e085ed5358e4c0fe /elf
parent1a0a8d152d9ff65315c3e0f2623ccc2933f7695c (diff)
downloadglibc-b92058573b4b26ad0700c73d0ba33a796556e7fa.tar
glibc-b92058573b4b26ad0700c73d0ba33a796556e7fa.tar.gz
glibc-b92058573b4b26ad0700c73d0ba33a796556e7fa.tar.bz2
glibc-b92058573b4b26ad0700c73d0ba33a796556e7fa.zip
Add -Wno-trampolines as needed
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 11d6865baf..e5b142c7c6 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -861,6 +861,8 @@ $(objpfx)tst-execstack-needed: $(objpfx)tst-execstack-mod.so
LDFLAGS-tst-execstack-needed = -Wl,-z,noexecstack
LDFLAGS-tst-execstack-prog = -Wl,-z,execstack
+CFLAGS-tst-execstack-prog.c += -Wno-trampolines
+CFLAGS-tst-execstack-mod.c += -Wno-trampolines
endif
LDFLAGS-tst-array2 = $(no-as-needed)