desmume: avoid errors with with -fpermissive
Prior to this change, desmume would fail to build due to an error:
utils/libfat/directory.cpp:142:33: error: ISO C++ forbids comparison between
pointer and integer [-fpermissive]
commit688aaf10fb8c8ecb9ab52ae374bbb3b5cfd0cf97
authorRuben Maher <ruben@maher.fyi>
dateSun 4 Mar 2018, 13:39 (9 years ago)
parent2468400
pkgs/misc/emulators/desmume/default.nix+2
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
2626 })
2727 ];
2828
29+ CXXFLAGS = "-fpermissive";
30+
2931 buildInputs =
3032 [ pkgconfig libtool intltool libXmu lua agg alsaLib soundtouch
3133 openal desktop-file-utils gtk2 gtkglext libglade pangox_compat