Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/ibm-public/postfix Move -Wno-comment for clang to C...
details: https://anonhg.NetBSD.org/src/rev/14503301370b
branches: trunk
changeset: 768735:14503301370b
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Aug 25 17:05:45 2011 +0000
description:
Move -Wno-comment for clang to CPPFLAGS, so that mkdep runs are silent.
diffstat:
external/ibm-public/postfix/Makefile.inc | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 1b32960ee370 -r 14503301370b external/ibm-public/postfix/Makefile.inc
--- a/external/ibm-public/postfix/Makefile.inc Thu Aug 25 17:00:55 2011 +0000
+++ b/external/ibm-public/postfix/Makefile.inc Thu Aug 25 17:05:45 2011 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.inc,v 1.12 2011/05/26 12:56:27 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.13 2011/08/25 17:05:45 joerg Exp $
.include <bsd.own.mk>
USE_FORT?= yes # network client and server
-CWARNFLAGS.clang+= -Wno-comment -Wno-empty-body -Wno-format-extra-args
+CWARNFLAGS.clang+= -Wno-empty-body -Wno-format-extra-args
WARNS?= 0
@@ -14,7 +14,8 @@
-I${PFIX_DISTDIR}/src/dns -I${PFIX_DISTDIR}/src/global \
-I${PFIX_DISTDIR}/src/master -I${PFIX_DISTDIR}/src/util \
-I${PFIX_DISTDIR}/src/tls -I${PFIX_DISTDIR}/src/milter \
- -I${PFIX_DISTDIR}/src/xsasl
+ -I${PFIX_DISTDIR}/src/xsasl \
+ ${${ACTIVE_CC} == "clang":?-Wno-comment:}
CPPFLAGS+= -DUSE_SASL_AUTH
CPPFLAGS+= -DDEF_SERVER_SASL_TYPE=\"dovecot\"
Home |
Main Index |
Thread Index |
Old Index