aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-03-12 12:11:53 +0000
committergingerBill <bill@gingerbill.org>2024-03-12 12:11:53 +0000
commitd6353daf91e8cea613ceca705f482062cc1538eb (patch)
tree43efda21f0941382fda78b5137ae70376015e23e
parentc7c68520577133d6332bd6df98c44e751b571c03 (diff)
parent47837b206ed5b1b50b9390b51d8bb000a0b97030 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
-rwxr-xr-xbuild_odin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_odin.sh b/build_odin.sh
index 93319b4ef..c53766290 100755
--- a/build_odin.sh
+++ b/build_odin.sh
@@ -56,7 +56,7 @@ fi
case "$OS_NAME" in
Darwin)
- if [ "$OS_ARCH" == "arm64" ]; then
+ if [ "$OS_ARCH" = "arm64" ]; then
if [ $LLVM_VERSION_MAJOR -lt 13 ] || [ $LLVM_VERSION_MAJOR -gt 17 ]; then
error "Darwin Arm64 requires LLVM 13, 14 or 17"
fi
@@ -101,7 +101,7 @@ build_odin() {
EXTRAFLAGS="-O3"
;;
release-native)
- if [ "$OS_ARCH" == "arm64" ]; then
+ if [ "$OS_ARCH" = "arm64" ]; then
# Use preferred flag for Arm (ie arm64 / aarch64 / etc)
EXTRAFLAGS="-O3 -mcpu=native"
else