wxGTK: build with gcc 6

This commit is contained in:
Robin Gloster 2017-01-18 14:48:13 +01:00
parent 3098c3fd00
commit 0f3cee15b5
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
+ optionalString withMesa "${mesa.out}/lib "; + optionalString withMesa "${mesa.out}/lib ";
# Work around a bug in configure. # Work around a bug in configure.
NIX_CFLAGS_COMPILE = [ "-DHAVE_X11_XLIB_H=1" "-lX11" "-lcairo" ]; NIX_CFLAGS_COMPILE = [ "-DHAVE_X11_XLIB_H=1" "-lX11" "-lcairo" "-Wno-narrowing" ];
preConfigure = " preConfigure = "
substituteInPlace configure --replace 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE=' substituteInPlace configure --replace 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE='