summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-04-07 15:55:23 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-04-07 15:55:23 +0200
commit5409798e800b6deb5d5874401a2925d1e18d8bd3 (patch)
tree640f57759bd2b35b3797651b07fa4d4b4a03e4fc /build.sh
parentdebadc464578ac2be6b75a95f6ea6f95bfecba79 (diff)
almost back to normal after bytestream excursion
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index aed20c0..6ab9fc1 100755
--- a/build.sh
+++ b/build.sh
@@ -5,7 +5,8 @@ PROJECT_NAME="mknes" # Change this for each new project
# Base configuration common to all builds
CFLAGS="-std=gnu11 "
-CFLAGS+="-mavx2 -mbmi2 -march=native -mfunction-return=keep -mindirect-branch=keep "
+CFLAGS+="-mavx2 -mbmi2 -march=native "
+CFLAGS+="-mfunction-return=keep -mindirect-branch=keep "
CFLAGS+="-fwrapv -ffast-math -fno-trapping-math -fwhole-program "
CFLAGS+="-fno-stack-protector -fno-PIE -no-pie -fno-strict-aliasing -ffunction-sections -fdata-sections "
# CFLAGS+="-fno-exceptions -fno-rtti -fno-use-cxa-atexit "