aboutsummaryrefslogtreecommitdiff
path: root/graphics/gmic/gmic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gmic/gmic.SlackBuild')
-rw-r--r--graphics/gmic/gmic.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/gmic/gmic.SlackBuild b/graphics/gmic/gmic.SlackBuild
index c72fbde487dd..5c54c3b4d7ba 100644
--- a/graphics/gmic/gmic.SlackBuild
+++ b/graphics/gmic/gmic.SlackBuild
@@ -46,7 +46,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O0 -march=i686 -mtune=i686 -fno-fast-math"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O0 -fPIC -fno-fast-math"
+ SLKCFLAGS="-O3 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O0 -fno-fast-math"
@@ -87,7 +87,7 @@ cd zart
patch -p1 -i $CWD/zart-opencv4.patch
cd -
-make -C src cli lib libc WGET=/bin/true LIBS=${LDFLAGS} -j1
+make -C src cli lib libc WGET=/bin/true LIBS=${LDFLAGS} OPT_CFLAGS="$SLKCFLAGS " -j1
cd gmic-qt
qmake-qt5 GMIC_PATH=../src GMIC_DYNAMIC_LINKING=on HOST=none