From 5057feffccb8970585e63b336e13fc878803af02 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Sun, 13 Mar 2016 15:16:51 +0000 Subject: 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. --- scripts/sysd-rules.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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) { -- cgit 1.4.1