summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-14 20:28:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-14 20:28:20 +0700
commitb34103963a8409866588040217461ea82c97797d (patch)
treecae8910cbec98a9aec48c9b29093fff9b0cff79f /libraries
parent2812242c5260fc9d2446ef99d32a00627014e7f1 (diff)
downloadslackbuilds-b34103963a8409866588040217461ea82c97797d.tar.gz
libraries/rapidjson: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/rapidjson/rapidjson.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/rapidjson/rapidjson.SlackBuild b/libraries/rapidjson/rapidjson.SlackBuild
index 474a7d13e4..7df09edb3c 100644
--- a/libraries/rapidjson/rapidjson.SlackBuild
+++ b/libraries/rapidjson/rapidjson.SlackBuild
@@ -71,6 +71,7 @@ find -L . \
# Patch for -current but should be harmless on -stable
patch -p1 < $CWD/fix-build-on-gcc7.diff
+find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i
mkdir -p build
cd build