build_cross_tools_gcc4: Keep static libstdc++, but rename it.

The gcc_bootstrap recipe still needs it, it seems.
This commit is contained in:
Augustin Cavalier 2019-06-16 20:30:53 -04:00
parent 6a2133b166
commit d511533a48

View File

@ -299,8 +299,10 @@ 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"
# rename the static libstdc++ to prevent accidental usage
# (it should be used by the bootstrap process only)
mv "$installDir/$haikuMachine/lib/libstdc++.a" \
"$installDir/$haikuMachine/lib/libstdc++-static.a"
# remove the sysroot dir
rm -rf "$sysrootDir"