Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/external/mit/xorg/lib/libXaw Use smaller hammer for bu...
details: https://anonhg.NetBSD.org/src-all/rev/327889680be3
branches: trunk
changeset: 983536:327889680be3
user: Joerg Sonnenberger <joerg%bec.de@localhost>
date: Thu May 27 03:08:53 2021 +0200
description:
Use smaller hammer for building with clang.
diffstat:
external/mit/xorg/lib/libXaw/Makefile | 2 --
external/mit/xorg/lib/libXaw/Makefile.common | 3 +++
2 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 138c0262e10d -r 327889680be3 external/mit/xorg/lib/libXaw/Makefile
--- a/external/mit/xorg/lib/libXaw/Makefile Thu May 27 02:00:12 2021 +0200
+++ b/external/mit/xorg/lib/libXaw/Makefile Thu May 27 03:08:53 2021 +0200
@@ -66,5 +66,3 @@
.include <bsd.x11.mk>
.include <bsd.lib.mk>
-
-CWARNFLAGS.clang+= -Wno-format
diff -r 138c0262e10d -r 327889680be3 external/mit/xorg/lib/libXaw/Makefile.common
--- a/external/mit/xorg/lib/libXaw/Makefile.common Thu May 27 02:00:12 2021 +0200
+++ b/external/mit/xorg/lib/libXaw/Makefile.common Thu May 27 03:08:53 2021 +0200
@@ -17,5 +17,8 @@
Xext ${.CURDIR}/../libXext \
X11 ${.CURDIR}/../libX11/dynamic
+COPTS.Converters.c+= ${${ACTIVE_CC} == "clang":? -Wno-format :}
COPTS.Pixmap.c+= ${${ACTIVE_CC} == "gcc":? -Wno-discarded-qualifiers :}
+COPTS.Pixmap.c+= ${${ACTIVE_CC} == "clang":? -Wno-incompatible-pointer-types-discards-qualifiers :}
COPTS.TextAction.c+= ${${ACTIVE_CC} == "gcc":? -Wno-discarded-qualifiers :}
+COPTS.TextAction.c+= ${${ACTIVE_CC} == "clang":? -Wno-incompatible-pointer-types-discards-qualifiers :}
Home |
Main Index |
Thread Index |
Old Index