summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-04-02 12:19:38 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-04-02 12:19:38 +0200
commit6f63478cf43d4c0b77cabe3f76710f2b9f0c912e (patch)
treeefc5ccd04867fc5bc66112e7280273718ebccb83 /build.sh
parent7888e1d5408ed5f88cff788c37b942076f6b9c63 (diff)
Itsa twerking.
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 e05fc05..60de1d1 100755
--- a/build.sh
+++ b/build.sh
@@ -5,7 +5,7 @@ PROJECT_NAME="mknes" # Change this for each new project
# Base configuration common to all builds
CFLAGS="-std=gnu11 "
-CFLAGS+="-mavx2 -mtune=native -mfunction-return=keep -mindirect-branch=keep "
+CFLAGS+="-mavx2 -mbmi2 -mtune=native -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+="-Wall -Wextra "