summaryrefslogtreecommitdiff
path: root/scripts/build/cc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-06-16 06:07:00 (GMT)
committerAlexey Neyman <stilor@att.net>2017-06-16 06:07:00 (GMT)
commit1e37cd54507f05d4407a5d3ea4a4fda7b310b87e (patch)
tree5d47327e6ee79a7b58eb2984b415e9e62aaea064 /scripts/build/cc
parent07a3b822f5af247a62b98efcc48ed319d439e296 (diff)
Honor CFLAGS_FOR_BUILD
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r--scripts/build/cc/100-gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh
index c45253a..2ca8e6f 100644
--- a/scripts/build/cc/100-gcc.sh
+++ b/scripts/build/cc/100-gcc.sh
@@ -547,7 +547,7 @@ do_gcc_core_backend() {
CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
# We may need to modify host/build CFLAGS separately below
- cflags_for_build="${cflags}"
+ cflags_for_build="${CT_CFLAGS_FOR_BUILD}"
# Clang's default bracket-depth is 256, and building GCC
# requires somewhere between 257 and 512.