summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-04-21 20:49:33 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-04-21 20:49:33 +0200
commit8a32bcfac621dfcaa6af832228e56713a4af6156 (patch)
tree60714ce5a6a4eb707126ecc96ecfc17f1145b95b /build.sh
parent19f119e49c91580f49bb02f86bb905a05ba90d6b (diff)
add -mtune=generic
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index fbe27e9..611ca19 100755
--- a/build.sh
+++ b/build.sh
@@ -4,7 +4,7 @@
PROJECT_NAME="mknes" # Change this for each new project
# Base configuration common to all builds
-CFLAGS="-std=gnu11 "
+CFLAGS="-std=gnu11 -mtune=generic "
CFLAGS+="-mbmi2 "
CFLAGS+="-mfunction-return=keep "
CFLAGS+="-mindirect-branch=keep "