From 363e3b1e20d1a5b919e889079af5d7360070d837 Mon Sep 17 00:00:00 2001 From: Mystro256 Date: Mar 18 2020 13:54:12 +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 a375394..4cc9864 100644 --- a/dolphin-emu.spec +++ b/dolphin-emu.spec @@ -145,6 +145,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