diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-06-21 18:04:09 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:28:52 -0500 |
commit | f8d36c25b53c72920186aea5b944c3c8ac0a57d5 (patch) | |
tree | a4f0fc3e1e560f968996d0d01a90113657b60d79 /libraries/hpx/hpx.SlackBuild | |
parent | 72747f8cfda073c4040271450c87d72c534c603c (diff) |
libraries/hpx: Forced c++11 and added a patch for gcc >= 7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/hpx/hpx.SlackBuild')
-rw-r--r-- | libraries/hpx/hpx.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/hpx/hpx.SlackBuild b/libraries/hpx/hpx.SlackBuild index 0dbdd285e9758..5156a21773bdc 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 \ |