summaryrefslogtreecommitdiff
path: root/Toolchain/BuildIt.sh
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-22 08:48:08 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-22 08:48:08 +0200
commitc1ed16c8e80ae4365afc6023d919751d83acb74c (patch)
treea846e0af69d962b62f78df61fc16fac49a2c8008 /Toolchain/BuildIt.sh
parentacb7710a62886babd852f8d5e3294c85d1f8c5e6 (diff)
downloadserenity-c1ed16c8e80ae4365afc6023d919751d83acb74c.zip
Toolchain: Oops, we can't rely on "install.sh" to build LibC/LibM.
When we used "make install" in the past, the "install" target would pull in the library targets as dependencies, and everything got built that way. Now that we use "install.sh" instead, we have to build things manually.
Diffstat (limited to 'Toolchain/BuildIt.sh')
-rwxr-xr-xToolchain/BuildIt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh
index faf16e72d2..365ac4e2d5 100755
--- a/Toolchain/BuildIt.sh
+++ b/Toolchain/BuildIt.sh
@@ -93,8 +93,8 @@ pushd "$DIR/Build/"
make install-gcc install-target-libgcc || exit 1
echo "XXX serenity libc and libm"
- ( cd "$DIR/../Libraries/LibC/" && ./install.sh )
- ( cd "$DIR/../Libraries/LibM/" && ./install.sh )
+ ( cd "$DIR/../Libraries/LibC/" && make clean && make && ./install.sh )
+ ( cd "$DIR/../Libraries/LibM/" && make clean && make && ./install.sh )
echo "XXX build libstdc++"
make all-target-libstdc++-v3 || exit 1