diff options
author | Alexey Neyman <stilor@att.net> | 2017-01-14 14:51:38 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-01-14 14:51:38 -0800 |
commit | d47e64711ec2e94f323548f8a59667ef400cefeb (patch) | |
tree | 04e7991f67b2d11bad427c4cf3e439f433f9a7da /scripts/build/cc | |
parent | 949cc86ab755ff4fb5971a304ce97c3885fc360e (diff) | |
download | crosstool-ng-d47e64711ec2e94f323548f8a59667ef400cefeb.tar.gz crosstool-ng-d47e64711ec2e94f323548f8a59667ef400cefeb.tar.bz2 crosstool-ng-d47e64711ec2e94f323548f8a59667ef400cefeb.zip |
Restore copying headers for gcc_build.
Only needed in canadian configurations to build libstdc++.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r-- | scripts/build/cc/100-gcc.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh index 214f2089..57a49f3e 100644 --- a/scripts/build/cc/100-gcc.sh +++ b/scripts/build/cc/100-gcc.sh @@ -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 |