wxGTK: build with gcc 6
This commit is contained in:
parent
fe0fe963bd
commit
aca78bf637
@ -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