mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
liquidwar6: fix double definition of GL_GLEXT_VERSION
This commit is contained in:
parent
a532c6318a
commit
e8a79999c0
@ -27,7 +27,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||
NIX_CFLAGS_COMPILE =
|
||||
"-Wno-error=deprecated-declarations" +
|
||||
# Avoid GL_GLEXT_VERSION double definition
|
||||
" -DNO_SDL_GLEXT"
|
||||
;
|
||||
|
||||
# To avoid problems finding SDL_types.h.
|
||||
configureFlags = [ "CFLAGS=-I${SDL.dev}/include/SDL" ];
|
||||
|
Loading…
Reference in New Issue
Block a user