From 8013ee875e264e6ffed5c74920467065cac6fb69 Mon Sep 17 00:00:00 2001 From: Levon Date: Wed, 21 Feb 2024 16:41:11 -0600 Subject: [PATCH] o2 --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 96bf302..90403fc 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -26,7 +26,7 @@ mkdir build cd build || exit make clean cmake .. -DCMAKE_BUILD_TYPE=Release -DSVT_AV1_LTO=ON -DNATIVE=ON \ - -DCMAKE_C_FLAGS="-flto -O3 -mcpu=native" || exit + -DCMAKE_C_FLAGS="-flto -O2 -mcpu=native" || exit make -j "$(nproc)" || exit sudo make install || exit @@ -50,7 +50,7 @@ git pull mkdir build cd build || exit cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON\ - -DCMAKE_C_FLAGS="-flto -O3 -mcpu=native" || exit + -DCMAKE_C_FLAGS="-flto -O2 -mcpu=native" || exit make -j "$(nproc)" || exit sudo make install || exit