Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount_smbfs use -Wno-pointer-sign in the HAVE_PCC case ...



details:   https://anonhg.NetBSD.org/src/rev/c9eb777ab782
branches:  trunk
changeset: 753601:c9eb777ab782
user:      plunky <plunky%NetBSD.org@localhost>
date:      Sat Apr 03 11:55:41 2010 +0000

description:
use -Wno-pointer-sign in the HAVE_PCC case also

diffstat:

 sbin/mount_smbfs/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2490669c4c87 -r c9eb777ab782 sbin/mount_smbfs/Makefile.inc
--- a/sbin/mount_smbfs/Makefile.inc     Sat Apr 03 11:00:11 2010 +0000
+++ b/sbin/mount_smbfs/Makefile.inc     Sat Apr 03 11:55:41 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.2 2010/02/08 07:56:06 plunky Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2010/04/03 11:55:41 plunky Exp $
 #
 
 SRCS+= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
@@ -13,7 +13,7 @@
 DPADD+=${LIBUTIL}
 LDADD+=-lutil
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
+.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
 .for f in ctx mbuf nb_name nbns_rq
 COPTS.${f}.c+=       -Wno-pointer-sign
 .endfor



Home | Main Index | Thread Index | Old Index