diff options
author | Alexey Neyman <stilor@att.net> | 2018-05-25 23:57:29 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-06-05 00:16:37 -0700 |
commit | 07ec87f14f2bb078235a7db25d4a923e9319f53c (patch) | |
tree | 2b1f357525d71bdc1ca609ce1ae69c938e7fd057 /scripts/build/libc/newlib.sh | |
parent | ec384f2b9fa1337c7bbcd7ed7e972516bd696b3b (diff) | |
download | crosstool-ng-07ec87f14f2bb078235a7db25d4a923e9319f53c.tar.gz crosstool-ng-07ec87f14f2bb078235a7db25d4a923e9319f53c.tar.bz2 crosstool-ng-07ec87f14f2bb078235a7db25d4a923e9319f53c.zip |
Avoid adding arch/cpu/tune flags for target to GCC build
... as it may need to override them for building runtime-selectable code.
Signed-off-by: Alexey Neyman <stilor@att.net>
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 5c4a3562..ca2f74be 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: |