Open bugalo opened 1 year ago
Using NOCLEAN=1 ./libretro-build.sh dosbox in linux, the core fails to build with errors like this:
NOCLEAN=1 ./libretro-build.sh dosbox
error: ISO C++17 does not allow dynamic exception specifications
The core builds correctly using NOCLEAN=1 CXX="g++ -std=gnu++11" ./libretro-build.sh dosbox
NOCLEAN=1 CXX="g++ -std=gnu++11" ./libretro-build.sh dosbox
Please modify the build script taking this into account.
Thanks.
This can be fixed by modifying file libretro-dosbox/Makefile.libretro, and add after line 62 (section for platform unix) the following two lines:
libretro-dosbox/Makefile.libretro
CXXFLAGS += -std=gnu++11 CFLAGS += -std=gnu11
Using
NOCLEAN=1 ./libretro-build.sh dosbox
in linux, the core fails to build with errors like this:error: ISO C++17 does not allow dynamic exception specifications
The core builds correctly using
NOCLEAN=1 CXX="g++ -std=gnu++11" ./libretro-build.sh dosbox
Please modify the build script taking this into account.
Thanks.