about summary refs log tree commit diff
path: root/elf/rtld-Rules
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2016-03-13 15:16:51 +0000
committerMike Frysinger <vapier@gentoo.org>2016-04-09 23:48:32 -0400
commit5057feffccb8970585e63b336e13fc878803af02 (patch)
treea0970240e0e32106a06ec66b1922ac6bcda983ce /elf/rtld-Rules
parent1a5d01e79e40485e2e78ceb25f124a5ee31415fc (diff)
downloadglibc-5057feffccb8970585e63b336e13fc878803af02.tar.gz
glibc-5057feffccb8970585e63b336e13fc878803af02.tar.xz
glibc-5057feffccb8970585e63b336e13fc878803af02.zip
Allow overriding of CFLAGS as well as CPPFLAGS for rtld.
We need this to pass -fno-stack-protector to all the pieces of rtld in
non-elf/ directories.
Diffstat (limited to 'elf/rtld-Rules')
-rw-r--r--elf/rtld-Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld-Rules b/elf/rtld-Rules
index 94ca39bff2..c1bb50687e 100644
--- a/elf/rtld-Rules
+++ b/elf/rtld-Rules
@@ -90,7 +90,7 @@ else
 
 rtld-compile-command.S = $(compile-command.S) $(rtld-CPPFLAGS)
 rtld-compile-command.s = $(compile-command.s) $(rtld-CPPFLAGS)
-rtld-compile-command.c = $(compile-command.c) $(rtld-CPPFLAGS)
+rtld-compile-command.c = $(compile-command.c) $(rtld-CPPFLAGS) $(rtld-CFLAGS)
 
 # These are the basic compilation rules corresponding to the Makerules ones.
 # The sysd-rules generated makefile already defines pattern rules for rtld-%