mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:07:44 +00:00
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.
This commit is contained in:
parent
efcfc8ef7f
commit
3265141286
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue