Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src remove HAVE_GCC == 4 conditional
details: https://anonhg.NetBSD.org/src/rev/ba1bfb90149e
branches: trunk
changeset: 766717:ba1bfb90149e
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Jul 01 01:26:15 2011 +0000
description:
remove HAVE_GCC == 4 conditional
diffstat:
sbin/newfs_v7fs/Makefile | 4 ++--
sys/arch/i386/stand/boot/Makefile.boot | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 9034e8306a0e -r ba1bfb90149e sbin/newfs_v7fs/Makefile
--- a/sbin/newfs_v7fs/Makefile Fri Jul 01 01:25:52 2011 +0000
+++ b/sbin/newfs_v7fs/Makefile Fri Jul 01 01:26:15 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/06/27 11:52:58 uch Exp $
+# $NetBSD: Makefile,v 1.2 2011/07/01 01:26:15 mrg Exp $
.include <bsd.own.mk>
@@ -16,7 +16,7 @@
CPPFLAGS+=-DV7FS_EI -I${V7FS} -I${FSCK} -g
.PATH: ${V7FS} ${FSCK}
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
+.if defined(HAVE_GCC)
COPTS.newfs_v7fs.c+= -Wno-pointer-sign
.endif
diff -r 9034e8306a0e -r ba1bfb90149e sys/arch/i386/stand/boot/Makefile.boot
--- a/sys/arch/i386/stand/boot/Makefile.boot Fri Jul 01 01:25:52 2011 +0000
+++ b/sys/arch/i386/stand/boot/Makefile.boot Fri Jul 01 01:26:15 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.boot,v 1.53 2011/06/20 06:52:37 mrg Exp $
+# $NetBSD: Makefile.boot,v 1.54 2011/07/01 01:26:16 mrg Exp $
S= ${.CURDIR}/../../../../..
@@ -83,7 +83,7 @@
SAMISCMAKEFLAGS+= SA_USE_CREAD=yes # Read compressed kernels
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no # Netboot via TFTP, NFS
-.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
+.if defined(HAVE_GCC) || defined(HAVE_PCC)
CPPFLAGS+= -Wno-pointer-sign
.endif
Home |
Main Index |
Thread Index |
Old Index