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

Toolchain: Enough to make rebuild-toolchain aarch64 work

The gcc patch might not be completely correct, but at least the
toolchain completes building.
This commit is contained in:
Nico Weber 2021-08-27 22:36:38 -04:00 committed by Linus Groh
parent 61b6f69947
commit 7052f403c8
4 changed files with 47 additions and 10 deletions

View file

@ -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