summaryrefslogtreecommitdiff
path: root/graphics/photivo/photivo.SlackBuild
diff options
context:
space:
mode:
authorThomas Morper <thomas@beingboiled.info>2016-05-31 08:56:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-31 08:56:41 +0700
commit67a8c7fc928a35bf01d19e991173e8108bba7bba (patch)
tree17293fdd032d414d169f8d14b36b9d2e3e2dbd65 /graphics/photivo/photivo.SlackBuild
parentfa0974d85ddee96b306034757eacf5d205999552 (diff)
downloadslackbuilds-67a8c7fc928a35bf01d19e991173e8108bba7bba.tar.gz
graphics/photivo: Fix build with new GCC.
Big thanks to Thomas Morper. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/photivo/photivo.SlackBuild')
-rw-r--r--graphics/photivo/photivo.SlackBuild2
1 files changed, 2 insertions, 0 deletions
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