summaryrefslogtreecommitdiffstats
path: root/libraries/hpx/hpx.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-03-02 09:06:36 +0100
committer Matteo Bernardini2019-03-02 09:06:36 +0100
commit8142e5f661606651e9782298933c833f346346ca (patch)
treef3b4e57a91421eaf51c8ceabef2b7b4734699821 /libraries/hpx/hpx.SlackBuild
parentdb85da7f3d5e8b6efdf53de3d8c8f7f0dfded399 (diff)
downloadslackbuilds-8142e5f661606651e9782298933c833f346346ca.tar.gz
20190302.1 global branch merge.current-20190302.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/hpx/hpx.SlackBuild')
-rw-r--r--libraries/hpx/hpx.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/hpx/hpx.SlackBuild b/libraries/hpx/hpx.SlackBuild
index 0dbdd285e9..5156a21773 100644
--- a/libraries/hpx/hpx.SlackBuild
+++ b/libraries/hpx/hpx.SlackBuild
@@ -69,11 +69,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# From upstream
+patch -p1 < $CWD/gcc7.patch
+
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DHPX_WITH_CXX11=On \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB=lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release \