summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authortalha <sarcxd@gmail.com>2025-02-01 17:37:26 +0500
committertalha <sarcxd@gmail.com>2025-02-01 17:37:26 +0500
commit79773a58ef3fd3caf6067422df430aa4a60ad127 (patch)
tree8bbf84a0217b1859612169f4c511e2f5d68370ea /build.sh
parentce28ed66a5cb155285a5971013f54919757cd65a (diff)
Setup benchmarh branch to have max performancebranch/simd-math
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 f7cc7fa..a4f0fda 100755
--- a/build.sh
+++ b/build.sh
@@ -14,7 +14,7 @@ build_opts="$build_dir/main"
lib_path="libs/SDL2 libs/freetype/libfreetype.so"
link_opts="-L $lib_path -lSDL2"
-build_command="clang++ -std=c++11 -g -O0 $include_opts $files $link_opts -o $build_opts"
+build_command="clang++ -std=c++11 -g -O2 $include_opts $files $link_opts -o $build_opts"
printf "Building Project...\n"
printf "$build_command\n\n"