wxGTK: build with gcc 6
This commit is contained in:
parent
3098c3fd00
commit
0f3cee15b5
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
+ optionalString withMesa "${mesa.out}/lib ";
|
||||
|
||||
# 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 = "
|
||||
substituteInPlace configure --replace 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE='
|
||||
|
Loading…
x
Reference in New Issue
Block a user