summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-09-07 13:41:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit5d9bed09d46c0bf8f3321b13f0dc56241ecc3d02 (patch)
treecb0373459212d518d862f1f44cb084c1b2588872
parentfb07b68f4e5d4edd2581e29d9455f8e37a3d5d41 (diff)
downloadslackbuilds-5d9bed09d46c0bf8f3321b13f0dc56241ecc3d02.tar.gz
graphics/luminance-hdr: Modified SlackBuild.
Fixes build failure with g++-4.9.3 on -current (use clang++). Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/luminance-hdr/luminance-hdr.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/luminance-hdr/luminance-hdr.SlackBuild b/graphics/luminance-hdr/luminance-hdr.SlackBuild
index 1bddfc0589..22578cb403 100644
--- a/graphics/luminance-hdr/luminance-hdr.SlackBuild
+++ b/graphics/luminance-hdr/luminance-hdr.SlackBuild
@@ -71,6 +71,10 @@ find -L . \
# Fix recent qt5 breakage (thanks be unto Debian)
patch -p1 < $CWD/qt5_printsupport.diff
+# Workround build failure with gcc-g++-4.9.3 (mangling bug?)
+# (fails to link libmvec: "undefined reference to `_ZGVbN4vv_powf'" etc)
+export CXX=clang++
+
mkdir -p build
cd build
cmake \