summaryrefslogtreecommitdiff
path: root/lib/mesa/mk
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-08-27 03:18:27 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-08-27 03:18:27 +0000
commit38ae995283c2a71f9f949f2b9a13c9c24db1325f (patch)
treec713ec9279dcd63984176c2b59255b23749c14df /lib/mesa/mk
parent046ff0828c809863ede9824eba616b25d69d46d8 (diff)
build with -Wno-typedef-redefinition
clang with -std=c99 generates warnings on typedef redefinition likely unnoticed upstream as gcc does not do this excessive amounts of warnings from vulkan driver headers pointed out by deraadt@
Diffstat (limited to 'lib/mesa/mk')
-rw-r--r--lib/mesa/mk/config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mesa/mk/config.mk b/lib/mesa/mk/config.mk
index a52866e3b..2320d1132 100644
--- a/lib/mesa/mk/config.mk
+++ b/lib/mesa/mk/config.mk
@@ -12,6 +12,7 @@ CFLAGS+= \
-Werror=missing-prototypes \
-Werror=return-type \
-Wno-missing-field-initializers \
+ -Wno-typedef-redefinition \
-fno-math-errno \
-fno-trapping-math \
-fno-common \