From 63f5e6e3be484a5ee07379ddd1790aeb3fd3dd58 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 4 Jun 2023 23:55:50 -0500 Subject: [PATCH] use -O3 for Linux releases --- scripts/release-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release-linux.sh b/scripts/release-linux.sh index 570712f06..b554ed701 100755 --- a/scripts/release-linux.sh +++ b/scripts/release-linux.sh @@ -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 ..