summaryrefslogtreecommitdiff
path: root/scripts/build/cc/100-gcc.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-06-16 17:38:54 (GMT)
committerGitHub <noreply@github.com>2017-06-16 17:38:54 (GMT)
commitf36f61faf46013036f62e0ccc852645591081850 (patch)
tree3d06f9173e35a147d7793f70bd794edf9b6f160e /scripts/build/cc/100-gcc.sh
parent8758457c25415a1d2f92b55f445a766a36e167d7 (diff)
parent1e37cd54507f05d4407a5d3ea4a4fda7b310b87e (diff)
Merge pull request #758 from stilor/cflags-for-build
Honor CFLAGS_FOR_BUILD
Diffstat (limited to 'scripts/build/cc/100-gcc.sh')
-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.