summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2019-02-01 23:27:34 +0100
committer Matteo Bernardini2019-08-18 09:02:15 +0200
commit1c87e2569bdc123d0ff16152f6afb21a5d3c6af3 (patch)
tree296ac2f10029de0ee5e781945103d3d75b2e60cf
parentd04189e642ca17186cb9b2b5899fa9c12aceb782 (diff)
downloadslackbuilds-rapidjson.tar.gz
libraries/rapidjson: Disable some warnings-as-errors.rapidjson
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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 474a7d13e4..3224dc94fd 100644
--- a/libraries/rapidjson/rapidjson.SlackBuild
+++ b/libraries/rapidjson/rapidjson.SlackBuild
@@ -75,7 +75,7 @@ patch -p1 < $CWD/fix-build-on-gcc7.diff
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 ..