From 67a8c7fc928a35bf01d19e991173e8108bba7bba Mon Sep 17 00:00:00 2001 From: Thomas Morper Date: Tue, 31 May 2016 08:56:41 +0700 Subject: [PATCH] graphics/photivo: Fix build with new GCC. Big thanks to Thomas Morper. Signed-off-by: Willy Sudiarto Raharjo --- graphics/photivo/photivo.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphics/photivo/photivo.SlackBuild b/graphics/photivo/photivo.SlackBuild index c6cfb4874a..14314880b6 100644 --- a/graphics/photivo/photivo.SlackBuild +++ b/graphics/photivo/photivo.SlackBuild @@ -73,6 +73,8 @@ find -L . \ export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/lensfun qmake CONFIG+=WithGimp photivo.pro PREFIX=/usr +CFLAGS="$SLKCFLAGS -fno-finite-math-only" \ +CXXFLAGS="$SLKCFLAGS -fno-finite-math-only" \ make make install INSTALL_ROOT=$PKG