diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-27 14:26:25 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-27 16:55:10 +0100 |
commit | 4a0fb34eb833a586fd8dde93dbbe844a544ef251 (patch) | |
tree | eb6fdd1654ddf9323137ea18346640fe7546861d /Toolchain/BuildIt.sh | |
parent | 2b9c9bf663fba7917ad3f7eb6e60375b535ae128 (diff) | |
download | serenity-4a0fb34eb833a586fd8dde93dbbe844a544ef251.zip |
Toolchain: Allow building shared objects
Here goes a small first step towards dynamic linking.
Diffstat (limited to 'Toolchain/BuildIt.sh')
-rwxr-xr-x | Toolchain/BuildIt.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index 1c3dbf9ed5..2c252a379a 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -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" |