summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2019-02-01 23:27:34 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:57:07 -0500
commit9049e7aec6fa791aeb6fc11e7d643a252eeb0c87 (patch)
tree503b211abd4dac7daa352dfb1bad134ce674cdcd /libraries
parent6d40a8b775d51e683d9243084bf5f363a255fc48 (diff)
downloadslackbuilds-9049e7aec6fa791aeb6fc11e7d643a252eeb0c87.tar.gz
libraries/rapidjson: Disable some warnings-as-errors.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/rapidjson/rapidjson.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/rapidjson/rapidjson.SlackBuild b/libraries/rapidjson/rapidjson.SlackBuild
index 7df09edb3c..13847be1bf 100644
--- a/libraries/rapidjson/rapidjson.SlackBuild
+++ b/libraries/rapidjson/rapidjson.SlackBuild
@@ -76,7 +76,7 @@ find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i
mkdir -p build
cd build
cmake \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=class-memaccess" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..