Module Name: src Committed By: christos Date: Sat Jan 25 19:05:08 UTC 2020
Modified Files: src/external/mit/xorg/lib/dri: Makefile Log Message: try to fix the clang build To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/external/mit/xorg/lib/dri/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/mit/xorg/lib/dri/Makefile diff -u src/external/mit/xorg/lib/dri/Makefile:1.35 src/external/mit/xorg/lib/dri/Makefile:1.36 --- src/external/mit/xorg/lib/dri/Makefile:1.35 Sat Jan 18 19:58:14 2020 +++ src/external/mit/xorg/lib/dri/Makefile Sat Jan 25 14:05:08 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2020/01/19 00:58:14 jmcneill Exp $ +# $NetBSD: Makefile,v 1.36 2020/01/25 19:05:08 christos Exp $ # Link the mesa_dri_drivers mega driver. @@ -421,6 +421,7 @@ SRCS+= ${DRI_SOURCES.${_d}} .PATH: ${X11SRCDIR.Mesa}/src/mesa/drivers/dri/${_d} .endfor + LIBDPLIBS+= expat ${NETBSDSRCDIR}/external/mit/expat/lib/libexpat LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread @@ -441,6 +442,8 @@ CPPFLAGS.streaming-load-memcpy.c+= -msse CPPFLAGS.isl_tiled_memcpy_sse41.c+= -msse4.1 .endif +CFLAGS+= ${${ACTIVE_CC} == "clang":? -Wno-error=atomic-alignment :} + .include "../driver.mk" .for _d in ${DRIVERS}