summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-06-13 18:25:00 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-06-13 18:25:00 (GMT)
commit7b3c12d9a38668385d1f6c684df14cba550ff847 (patch)
treedec2bbca38e41e65f4d349e25286da9b2dd25628 /scripts
parent59f1abd54193810c5c22f29739fcb1e73cf346c5 (diff)
cc/gcc: fix headers copy for core static
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/cc/gcc.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 2e7bb04..a551db7 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -134,8 +134,7 @@ do_cc_core() {
if [ "${copy_headers}" = "y" ]; then
CT_DoLog DEBUG "Copying headers to install area of bootstrap gcc, so it can build libgcc2"
- CT_DoExecLog ALL mkdir -p "${core_prefix_dir}/${CT_TARGET}/include"
- CT_DoExecLog ALL cp -r "${CT_HEADERS_DIR}"/* "${core_prefix_dir}/${CT_TARGET}/include"
+ CT_DoExecLog ALL cp -a "${CT_HEADERS_DIR}" "${core_prefix_dir}/${CT_TARGET}/include"
fi
CT_DoLog EXTRA "Configuring ${mode} core C compiler"