mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
Merge pull request #535 from stilor/broke-newlib-cxx-canadian
Restore copying headers for gcc_build
This commit is contained in:
commit
ef58f6c01c
@ -397,6 +397,13 @@ do_gcc_core_backend() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# This is only needed when building libstdc++ in a canadian environment with
|
||||
# this function being used for final step (i.e., when building for bare metal).
|
||||
if [ "${build_step}" = "gcc_build" ]; then
|
||||
CT_DoLog DEBUG "Copying headers to install area of core C compiler"
|
||||
CT_DoExecLog ALL cp -a "${CT_HEADERS_DIR}" "${prefix}/${CT_TARGET}/include"
|
||||
fi
|
||||
|
||||
for tmp in ARCH ABI CPU TUNE FPU FLOAT; do
|
||||
eval tmp="\${CT_ARCH_WITH_${tmp}}"
|
||||
if [ -n "${tmp}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user