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