mirror of
https://github.com/yquake2/ref_vk.git
synced 2024-11-10 06:41:45 +00:00
silent clang warning as SDL vulkan and vulkan define both same macros.
This commit is contained in:
parent
674e634679
commit
4402657b5f
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -137,7 +137,7 @@ endif
|
|||
ifeq ($(COMPILER), clang)
|
||||
# -Wno-missing-braces because otherwise clang complains
|
||||
# about totally valid 'vec3_t bla = {0}' constructs.
|
||||
override CFLAGS += -Wno-missing-braces
|
||||
override CFLAGS += -Wno-missing-braces -Wno-typedef-redefinition
|
||||
else ifeq ($(COMPILER), gcc)
|
||||
# GCC 8.0 or higher.
|
||||
ifeq ($(shell test $(COMPILERVER) -ge 80000; echo $$?),0)
|
||||
|
|
Loading…
Reference in a new issue