diff options
author | Alexey Neyman <stilor@att.net> | 2018-06-06 05:32:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 05:32:45 (GMT) |
commit | 83582f4fd4355f572edab7a6ab7ff5585736ead9 (patch) | |
tree | a1a083961fc8bf11cc92390a0b333c931c3b83ff /scripts/build/libc/newlib.sh | |
parent | ec384f2b9fa1337c7bbcd7ed7e972516bd696b3b (diff) | |
parent | 57679b5e610e488cc6c25b259331cb25d412c771 (diff) |
Merge pull request #978 from stilor/fix-gcc8-regressions
Fix gcc8 regressions
Diffstat (limited to 'scripts/build/libc/newlib.sh')
-rw-r--r-- | scripts/build/libc/newlib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 5c4a356..ca2f74b 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -94,7 +94,7 @@ ENABLE_TARGET_OPTSPACE:target-optspace [ "${CT_LIBC_NEWLIB_LTO}" = "y" ] && \ CT_LIBC_NEWLIB_TARGET_CFLAGS="${CT_LIBC_NEWLIB_TARGET_CFLAGS} -flto" - cflags_for_target="${CT_TARGET_CFLAGS} ${CT_LIBC_NEWLIB_TARGET_CFLAGS}" + cflags_for_target="${CT_ALL_TARGET_CFLAGS} ${CT_LIBC_NEWLIB_TARGET_CFLAGS}" # Note: newlib handles the build/host/target a little bit differently # than one would expect: |