summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-08-28 13:00:11 -0400
committerLinus Groh <mail@linusgroh.de>2021-08-28 21:51:30 +0100
commit23bc752c5da7676d31223c6ca9fc0d1874089f96 (patch)
tree96d7a5a6c6f06c0c58d348f8f3d9f6641c34f870
parent57f95bd724349a56cd6846a066cd62505569f169 (diff)
downloadserenity-23bc752c5da7676d31223c6ca9fc0d1874089f96.zip
Meta: Make build-root-filesystem.sh omit libgcc_so.so in aarch64 builds
-rwxr-xr-xMeta/build-root-filesystem.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh
index 9d9bc52faa..33cbe10c49 100755
--- a/Meta/build-root-filesystem.sh
+++ b/Meta/build-root-filesystem.sh
@@ -54,7 +54,7 @@ if [ "$USE_CLANG_TOOLCHAIN" = "1" ]; then
$CP "$TOOLCHAIN_DIR"/lib/clang/"$LLVM_VERSION"/lib/serenity/* mnt/usr/lib/clang/"$LLVM_VERSION"/lib/serenity
$CP "$TOOLCHAIN_DIR"/lib/libunwind* mnt/usr/lib
$CP "$TOOLCHAIN_DIR"/lib/libc++* mnt/usr/lib
-else
+elif [ "$SERENITY_ARCH" != "aarch64" ]; then
$CP "$SERENITY_SOURCE_DIR"/Toolchain/Local/"$SERENITY_ARCH"/"$SERENITY_ARCH"-pc-serenity/lib/libgcc_s.so mnt/usr/lib
fi