summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
parent1a5d01e79e40485e2e78ceb25f124a5ee31415fc (diff)
downloadglibc-5057feffccb8970585e63b336e13fc878803af02.tar.gz
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 'scripts')
-rw-r--r--scripts/sysd-rules.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sysd-rules.awk b/scripts/sysd-rules.awk
index cebc9d3e1b..69af400e58 100644
--- a/scripts/sysd-rules.awk
+++ b/scripts/sysd-rules.awk
@@ -54,7 +54,7 @@ BEGIN {
command_suffix = "";
} else {
prefix = gensub(/%/, "", 1, target_pattern);
- command_suffix = " $(" prefix "CPPFLAGS)";
+ command_suffix = " $(" prefix "CPPFLAGS)" " $(" prefix "CFLAGS)";
}
target = "$(objpfx)" target_pattern o ":";
if (asm_rules) {