use -O3 for Linux releases

This commit is contained in:
tildearrow 2023-06-04 23:55:50 -05:00
parent 8cd6554659
commit 63f5e6e3be
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ fi
cd linuxbuild
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-O2" -DCMAKE_CXX_FLAGS="-O2 -Wall -Wextra -Wno-unused-parameter -Werror" .. || exit 1
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-O3" -DCMAKE_CXX_FLAGS="-O3 -Wall -Wextra -Wno-unused-parameter -Werror" .. || exit 1
make -j4 || exit 1
cd ..