Use rapidjson with hack for GCC8 (#7503)

To be removed once https://github.com/Tencent/rapidjson/issues/1205 is fixed
This commit is contained in:
Michał Janiszewski 2018-05-11 16:15:36 +02:00 committed by GitHub
parent cb162edcfe
commit ad0060f2b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ elif [[ $(uname) == "Linux" ]]; then
# Clone discord-rpc for Discord's Rich Presence support
# Use tagged release to prevent upstream changes from breaking our code
git clone https://github.com/discordapp/discord-rpc -b v3.2.0
# Use rapidjson with a hack for GCC 8, while awaiting a fix upstream:
# https://github.com/Tencent/rapidjson/issues/1205
git clone https://github.com/janisozaur/rapidjson discord-rpc/thirdparty/rapidjson -b patch-1
# prevent build.sh from re-doing all the steps again
case "$TARGET" in
"ubuntu_i686")