mirror of
https://github.com/yquake2/ref_vk.git
synced 2024-11-22 20:11:27 +00:00
Merge pull request #28 from devnexen/silent_warning
silent clang warning as SDL vulkan and vulkan define both same macros.
This commit is contained in:
commit
b2103fca46
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