diff options
author | Alexey Neyman <stilor@att.net> | 2017-05-23 20:54:33 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-05-24 23:03:34 -0700 |
commit | 20a8525e8bafb4a66f43bb1486ece439e3e0d95d (patch) | |
tree | c996f6f05a1558f376453a2a80623e85f448177d /scripts/build/cc | |
parent | 753236ea224998cb06c695947bfbd0b27f1a74df (diff) | |
download | crosstool-ng-20a8525e8bafb4a66f43bb1486ece439e3e0d95d.tar.gz crosstool-ng-20a8525e8bafb4a66f43bb1486ece439e3e0d95d.tar.bz2 crosstool-ng-20a8525e8bafb4a66f43bb1486ece439e3e0d95d.zip |
Retire CT_CC_GCC_TARGET_FINAL
Make this behavior default in case the core gcc backend is used
for final compiler (i.e., for baremetal configurations). Not
setting this option breaks canadian baremetal configurations,
and not setting it makes little sense at all in any baremetal
configuration (since in baremetal we don't have any libc to begin
with).
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r-- | scripts/build/cc/100-gcc.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh index 190aec88..c45253a4 100644 --- a/scripts/build/cc/100-gcc.sh +++ b/scripts/build/cc/100-gcc.sh @@ -337,10 +337,8 @@ do_gcc_core_backend() { CT_DoLog EXTRA "Configuring final gcc compiler" extra_user_config=( "${CT_CC_GCC_EXTRA_CONFIG_ARRAY[@]}" ) log_txt="final gcc compiler" - if [ "${CT_CC_GCC_TARGET_FINAL}" = "y" ]; then - # to inhibit the libiberty and libgcc tricks later on - build_libgcc=no - fi + # to inhibit the libiberty and libgcc tricks later on + build_libgcc=no ;; *) CT_Abort "Internal Error: 'build_step' must be one of: 'core1', 'core2', 'gcc_build' or 'gcc_host', not '${build_step:-(empty)}'" @@ -663,10 +661,8 @@ do_gcc_core_backend() { case "${build_step}" in gcc_build|gcc_host) - if [ "${CT_CC_GCC_TARGET_FINAL}" = "y" ]; then - core_targets_all=all - core_targets_install=install - fi + core_targets_all=all + core_targets_install=install ;; esac |