diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-08-29 19:54:25 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-30 06:55:51 +0700 |
commit | 82e23c78abf674176c6240d2fc958819c29538e8 (patch) | |
tree | 93a7844236180f39ec73dce173f45a05ff2cbb79 /libraries/msgpack-c | |
parent | 39f4d98d4df6ec61df71d57c19c6a9ce68b59885 (diff) | |
download | slackbuilds-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.SlackBuild | 2 |
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} \ |