From cf12a58f48d470e568f62f727f606ce65cd3a733 Mon Sep 17 00:00:00 2001 From: Mystro256 Date: Mar 12 2020 18:19:35 +0000 Subject: Add note for picojson In the master branch of picojson, it allows for -fno-exceptions, but for now, just patch the picojson header. --- diff --git a/dolphin-emu.spec b/dolphin-emu.spec index 6fa4be7..2411247 100644 --- a/dolphin-emu.spec +++ b/dolphin-emu.spec @@ -147,6 +147,7 @@ rm -rf Bochs_disasm #Replace bundled picojson with a modified system copy (remove use of throw) pushd picojson rm picojson.h +#In master, picojson has build option "PICOJSON_NOEXCEPT", but for now: sed "s/throw std::.*;/std::abort();/g" /usr/include/picojson.h > picojson.h popd