gmic: try -O1 for x86

This commit is contained in:
Jérôme Duval
2021-10-04 07:10:05 +02:00
committed by GitHub
parent 084b32635d
commit 677d34e13f

View File

@@ -102,7 +102,7 @@ BUILD()
local CUSTOM_CXX_FLAGS="-O3" local CUSTOM_CXX_FLAGS="-O3"
if [ "$targetArchitecture" = x86_gcc2 ]; then if [ "$targetArchitecture" = x86_gcc2 ]; then
CUSTOM_CXX_FLAGS="-O0" CUSTOM_CXX_FLAGS="-O1"
fi fi
cmake $cmakeDirArgs \ cmake $cmakeDirArgs \
@@ -129,7 +129,7 @@ BUILD()
-DENABLE_LTO=OFF -DENABLE_LTO=OFF
cd build cd build
make make VERBOSE=1
cd .. cd ..
export LDFLAGS="$LDFLAGS -L../build" export LDFLAGS="$LDFLAGS -L../build"
@@ -147,7 +147,7 @@ BUILD()
-DENABLE_LTO=OFF -DENABLE_LTO=OFF
cd build-qt cd build-qt
make make VERBOSE=1
} }
INSTALL() INSTALL()