Module Name: src
Committed By: mrg
Date: Fri Jul 1 01:26:16 UTC 2011
Modified Files:
src/sbin/newfs_v7fs: Makefile
src/sys/arch/i386/stand/boot: Makefile.boot
Log Message:
remove HAVE_GCC == 4 conditional
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/newfs_v7fs/Makefile
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/i386/stand/boot/Makefile.boot
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/newfs_v7fs/Makefile
diff -u src/sbin/newfs_v7fs/Makefile:1.1 src/sbin/newfs_v7fs/Makefile:1.2
--- src/sbin/newfs_v7fs/Makefile:1.1 Mon Jun 27 11:52:58 2011
+++ src/sbin/newfs_v7fs/Makefile Fri Jul 1 01:26:15 2011
@@ -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
Index: src/sys/arch/i386/stand/boot/Makefile.boot
diff -u src/sys/arch/i386/stand/boot/Makefile.boot:1.53 src/sys/arch/i386/stand/boot/Makefile.boot:1.54
--- src/sys/arch/i386/stand/boot/Makefile.boot:1.53 Mon Jun 20 06:52:37 2011
+++ src/sys/arch/i386/stand/boot/Makefile.boot Fri Jul 1 01:26:16 2011
@@ -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