mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-18 15:28:10 +00:00
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>
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user