Module Name: src
Committed By: rin
Date: Sat Aug 17 11:34:47 UTC 2024
Modified Files:
src/external/mit/xorg/lib/gallium: Makefile
Log Message:
gallium: Sprinkle -O1 to vl_bicubic_filter.c for GCC12/m68k
as done for gallium.old. Other files can be built by GCC 12.4 somehow.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/external/mit/xorg/lib/gallium/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/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.55 src/external/mit/xorg/lib/gallium/Makefile:1.56
--- src/external/mit/xorg/lib/gallium/Makefile:1.55 Wed May 1 21:34:48 2024
+++ src/external/mit/xorg/lib/gallium/Makefile Sat Aug 17 11:34:46 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2024/05/01 21:34:48 christos Exp $
+# $NetBSD: Makefile,v 1.56 2024/08/17 11:34:46 rin Exp $
# Link the gallium mega driver.
@@ -1441,6 +1441,10 @@ COPTS+= ${${ACTIVE_CC} == "clang":? -Wa,
COPTS.u_atomic.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-builtin-declaration-mismatch :}
+.if ${MACHINE_CPU} == "m68k" && ${HAVE_GCC:U0} == 12
+COPTS.vl_bicubic_filter.c+= -O1
+.endif
+
.include <bsd.lib.mk>
# Don't regenerate c files
.y.c: