From ae27f711023d95715eb8409e4d741973cd3a244e Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 31 Oct 2010 16:50:07 +0100 Subject: scripts: do not provide to-sysroot include symlink Do not provide the PREFIX/TUPLE/include -> SYSROOT/usr/include symlink, and let gcc install its dependable C++ headers were it sees fit to install them. See the test by Anthony (by the end of the messages): http://sourceware.org/ml/crossgcc/2010-10/msg00129.html http://sourceware.org/ml/crossgcc/2010-10/msg00134.html See also the comment by Arnaud: http://sourceware.org/ml/crossgcc/2010-10/msg00157.html Reported-by: Anthony Foiani Signed-off-by: "Yann E. MORIN" --- scripts/build/internals.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh index eae1123f..ca284a0f 100644 --- a/scripts/build/internals.sh +++ b/scripts/build/internals.sh @@ -155,10 +155,9 @@ do_finish() { CT_DoExecLog ALL rm -f "${d}/lib64" done - # Also remove the include/ and lib/ symlinks out-side of sysroot + # Also remove the lib/ symlink out-side of sysroot if [ "${CT_USE_SYSROOT}" = "y" ]; then CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/${CT_TARGET}/lib" - CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/${CT_TARGET}/include" fi CT_EndStep -- cgit v1.2.3