liquidwar6: fix double definition of GL_GLEXT_VERSION

This commit is contained in:
Ricardo Ardissone 2018-12-20 15:01:46 -02:00
parent a532c6318a
commit e8a79999c0

View File

@ -27,7 +27,11 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ]; 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. # To avoid problems finding SDL_types.h.
configureFlags = [ "CFLAGS=-I${SDL.dev}/include/SDL" ]; configureFlags = [ "CFLAGS=-I${SDL.dev}/include/SDL" ];