1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:17:45 +00:00

Toolchain: Allow building shared objects

Here goes a small first step towards dynamic linking.
This commit is contained in:
Andreas Kling 2019-12-27 14:26:25 +01:00
parent 2b9c9bf663
commit 4a0fb34eb8
2 changed files with 7 additions and 2 deletions

View file

@ -100,6 +100,7 @@ pushd "$DIR/Build/"
"$DIR"/Tarballs/binutils-2.33.1/configure --prefix="$PREFIX" \
--target="$TARGET" \
--with-sysroot="$SYSROOT" \
--enable-shared \
--disable-nls || exit 1
make -j "$MAKEJOBS" || exit 1
make install || exit 1
@ -111,6 +112,7 @@ pushd "$DIR/Build/"
--with-sysroot="$SYSROOT" \
--disable-nls \
--with-newlib \
--enable-shared \
--enable-languages=c,c++ || exit 1
echo "XXX build gcc and libgcc"