summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index 5487439..845da73 100755
--- a/build.sh
+++ b/build.sh
@@ -8,7 +8,7 @@ CFLAGS="-std=gnu++23 "
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+="-fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-non-call-exceptions "
+CFLAGS+="-fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-non-call-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables "
CFLAGS+="-Wall -Wextra "
CFLAGS+="-Wno-unused-parameter -Wno-sign-compare -Wno-trigraphs -Wno-maybe-uninitialized "
CFLAGS+="-Wno-unused-variable -Wno-unused-const-variable -Wno-unused-function -Wno-write-strings -Wno-missing-field-initializers "
@@ -51,12 +51,7 @@ case "$BUILD_TYPE" in
;;
esac
-# Rebuild assets every time we compile
-#rm -rf data
-#mkdir -p data/p{1,2,3,4,5,6,7,8}
-#env -C org_assets ../../bin/mks_time ./process.sh
-
-# Make sure the <basecode> shaders are up to date if you are experimenting with them.
+# Make sure the shaders are up to date
shader2h 330 vertex_shader vertex_shader.glsl
shader2h 330 fragment_shader shader.h fragment_shader.glsl