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:
Denis Pauk 2022-09-12 20:54:45 +03:00 committed by GitHub
commit b2103fca46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)