Module: Mesa
Branch: master
Commit: e99dcfd80302fb2bd21436f64a78ada0f48cc649
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e99dcfd80302fb2bd21436f64a78ada0f48cc649

Author: Matt Turner <[email protected]>
Date:   Mon Aug 28 13:53:22 2017 -0700

i965: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS

brw_surface_formats.c and genX_blorp_exec.c do this a lot, causing lots
of warnings from clang.

Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>

---

 src/mesa/drivers/dri/i965/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/Makefile.am 
b/src/mesa/drivers/dri/i965/Makefile.am
index f884a530eb..eccca643c3 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -41,6 +41,7 @@ AM_CFLAGS = \
        -I$(top_srcdir)/include/drm-uapi \
        $(DEFINES) \
        $(VISIBILITY_CFLAGS) \
+       $(WNO_OVERRIDE_INIT) \
        $(LIBDRM_CFLAGS) \
        $(VALGRIND_CFLAGS) \
        -msse2

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to