BuildSystem: cmake can now build out libc

I can't seem to get libc++ build to work...
This commit is contained in:
Bananymous
2023-04-07 02:27:15 +03:00
parent 989f9ec5fe
commit 25ddc24754
7 changed files with 81 additions and 11 deletions

View File

@@ -43,7 +43,6 @@ if [ ! -f ${PREFIX}/bin/${TARGET}-ld ]; then
--target="$TARGET" \
--prefix="$PREFIX" \
--with-sysroot="$SYSROOT" \
--enable-shared \
--disable-werror
make -j $(nproc)
@@ -73,7 +72,6 @@ if [ ! -f ${PREFIX}/bin/${TARGET}-g++ ]; then
--target="$TARGET" \
--prefix="$PREFIX" \
--with-sysroot="$SYSROOT" \
--enable-shared \
--enable-languages=c,c++
make -j $(nproc) all-gcc all-target-libgcc