silent clang warning as SDL vulkan and vulkan define both same macros.

This commit is contained in:
David CARLIER 2022-09-11 23:29:31 +01:00
parent 674e634679
commit 4402657b5f

View file

@ -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)