From af86f80917ac2c71349dec18338816ae69c13cef Mon Sep 17 00:00:00 2001 From: bluesadi Date: Mon, 1 Jan 2024 09:07:46 +0000 Subject: [PATCH] Remove -O3 for json and openssl --- tests/test-json.sh | 2 +- tests/test-openssl.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-json.sh b/tests/test-json.sh index 20d07c3a2..91a3409c7 100755 --- a/tests/test-json.sh +++ b/tests/test-json.sh @@ -1,5 +1,5 @@ CXX=`pwd`/install/bin/clang++ -CXX_FLAGS="-flto -fuse-ld=lld -O3 -mllvm -passes=mba,sub,fla -Xlinker -mllvm -Xlinker -passes=idc -Wno-unused-command-line-argument" +CXX_FLAGS="-flto -fuse-ld=lld -mllvm -passes=mba,sub,fla -Xlinker -mllvm -Xlinker -passes=idc -Wno-unused-command-line-argument" cd tests/json rm -rf build diff --git a/tests/test-openssl.sh b/tests/test-openssl.sh index cc2de52b6..ec9e03b54 100755 --- a/tests/test-openssl.sh +++ b/tests/test-openssl.sh @@ -1,3 +1,3 @@ cd tests/openssl -CC=../../install/bin/clang CFLAGS="-flto -fuse-ld=lld -O3 -mllvm -passes=mba,sub,bcf,fla -Xlinker -mllvm -Xlinker -passes=idc -Wno-unused-command-line-argument" ./Configure +CC=../../install/bin/clang CFLAGS="-flto -fuse-ld=lld -mllvm -passes=mba,sub,bcf,fla -Xlinker -mllvm -Xlinker -passes=idc -Wno-unused-command-line-argument" ./Configure make -j`nproc` tests \ No newline at end of file