diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 92a97fa743..8f438a620f 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -299,6 +299,9 @@ esac # Only the ones from the source tree should be used. rm -rf "$installDir/$haikuMachine/sys-include" +# remove the static libstdc++, only the shared one should be used +rm -f "$installDir/$haikuMachine/lib/libstdc++.a" + # remove the sysroot dir rm -rf "$sysrootDir"