summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-08-27 22:36:38 -0400
committerLinus Groh <mail@linusgroh.de>2021-08-28 14:43:07 +0100
commit7052f403c884d60f6f0c3135a18085f1db9af1d4 (patch)
tree1a683bb2da56d70e60c0241e952d5a1c429f7251 /Meta
parent61b6f69947ccdf01c3abf3733b2220305860d4ad (diff)
downloadserenity-7052f403c884d60f6f0c3135a18085f1db9af1d4.zip
Toolchain: Enough to make `rebuild-toolchain aarch64` work
The gcc patch might not be completely correct, but at least the toolchain completes building.
Diffstat (limited to 'Meta')
-rwxr-xr-xMeta/serenity.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Meta/serenity.sh b/Meta/serenity.sh
index 048b16fda0..df550e9fca 100755
--- a/Meta/serenity.sh
+++ b/Meta/serenity.sh
@@ -94,6 +94,10 @@ get_top_dir() {
}
is_valid_target() {
+ if [ "$TARGET" = "aarch64" ]; then
+ CMAKE_ARGS+=("-DSERENITY_ARCH=aarch64")
+ return 0
+ fi
if [ "$TARGET" = "lagom" ]; then
CMAKE_ARGS+=("-DBUILD_LAGOM=ON")
return 0