Explorar o código

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.
Andreas Kling %!s(int64=6) %!d(string=hai) anos
pai
achega
c1ed16c8e8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Toolchain/BuildIt.sh

+ 2 - 2
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