Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib/libXaw libXaw: fix Clang build
details: https://anonhg.NetBSD.org/src/rev/b392e7437edb
branches: trunk
changeset: 379016:b392e7437edb
user: rillig <rillig%NetBSD.org@localhost>
date: Tue May 04 17:47:05 2021 +0000
description:
libXaw: fix Clang build
--- Pixmap.pico ---
error: unknown warning option '-Wno-discarded-qualifiers'; did you mean
'-Wno-ignored-qualifiers'? [-Werror,-Wunknown-warning-option]
diffstat:
external/mit/xorg/lib/libXaw/Makefile.common | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (17 lines):
diff -r e64c1fe254f6 -r b392e7437edb external/mit/xorg/lib/libXaw/Makefile.common
--- a/external/mit/xorg/lib/libXaw/Makefile.common Tue May 04 17:23:53 2021 +0000
+++ b/external/mit/xorg/lib/libXaw/Makefile.common Tue May 04 17:47:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2021/04/26 21:53:53 mrg Exp $
+# $NetBSD: Makefile.common,v 1.2 2021/05/04 17:47:05 rillig Exp $
CPPFLAGS+= -DHAVE_WCHAR_H \
-DHAVE_WCTYPE_H \
@@ -17,5 +17,5 @@ LIBDPLIBS=\
Xext ${.CURDIR}/../libXext \
X11 ${.CURDIR}/../libX11/dynamic
-COPTS.Pixmap.c+= -Wno-discarded-qualifiers
-COPTS.TextAction.c+= -Wno-discarded-qualifiers
+COPTS.Pixmap.c+= ${${ACTIVE_CC} == "gcc":? -Wno-discarded-qualifiers :}
+COPTS.TextAction.c+= ${${ACTIVE_CC} == "gcc":? -Wno-discarded-qualifiers :}
Home |
Main Index |
Thread Index |
Old Index