mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Silence -Wcast-qual in glad.c.
git-svn-id: https://svn.eduke32.com/eduke32@6667 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0c9b00e277
commit
af69391c24
1 changed files with 8 additions and 0 deletions
|
@ -129,6 +129,14 @@ glad_src := $(glad_root)/src
|
||||||
glad_inc := $(glad_root)/include
|
glad_inc := $(glad_root)/include
|
||||||
glad_obj := $(obj)/$(glad)
|
glad_obj := $(obj)/$(glad)
|
||||||
|
|
||||||
|
glad__no_cast_qual := -Wno-cast-qual
|
||||||
|
ifeq (4,$(GCC_MAJOR))
|
||||||
|
ifneq (,$(filter 0 1 2 3 4,$(GCC_MINOR)))
|
||||||
|
glad__no_cast_qual :=
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
glad_cflags := $(glad__no_cast_qual)
|
||||||
|
|
||||||
ifeq ($(RENDERTYPE),WIN)
|
ifeq ($(RENDERTYPE),WIN)
|
||||||
glad_objs += glad_wgl.c
|
glad_objs += glad_wgl.c
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue