summaryrefslogtreecommitdiff
path: root/libraries/msgpack-c
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-29 19:54:25 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:51 +0700
commit82e23c78abf674176c6240d2fc958819c29538e8 (patch)
tree93a7844236180f39ec73dce173f45a05ff2cbb79 /libraries/msgpack-c
parent39f4d98d4df6ec61df71d57c19c6a9ce68b59885 (diff)
downloadslackbuilds-82e23c78abf674176c6240d2fc958819c29538e8.tar.gz
libraries/msgpack-c: Use the C++11 standard.
gcc >= 11.x defaults to -std=gnu++17 and it breaks the build in this case Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/msgpack-c')
-rw-r--r--libraries/msgpack-c/msgpack-c.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/msgpack-c/msgpack-c.SlackBuild b/libraries/msgpack-c/msgpack-c.SlackBuild
index fb4fe08bfa..914edf3c89 100644
--- a/libraries/msgpack-c/msgpack-c.SlackBuild
+++ b/libraries/msgpack-c/msgpack-c.SlackBuild
@@ -85,7 +85,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \