From 326514128682e247c2e6a85ed31537d27d1cf696 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Thu, 1 Jul 2021 15:18:26 +0300 Subject: [PATCH] Meta: Make serenity.sh pass the SERENITY_ARCH cmake argument for x86_64 This is required as our CMake config defaults to i686 if not overriden manually via the SERENITY_ARCH argument. --- Meta/serenity.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Meta/serenity.sh b/Meta/serenity.sh index 5f6d05893d..30f7677aa4 100755 --- a/Meta/serenity.sh +++ b/Meta/serenity.sh @@ -95,6 +95,10 @@ is_valid_target() { CMAKE_ARGS+=("-DBUILD_LAGOM=ON") return 0 fi + if [ "$TARGET" = "x86_64" ]; then + CMAKE_ARGS+=("-DSERENITY_ARCH=x86_64") + return 0 + fi [[ "$TARGET" =~ ^(i686|x86_64|lagom)$ ]] || return 1 }