Source-Changes-HG archive

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

[src/trunk]: src/sys/arch remove some more ancient HAVE_GCC checks.



details:   https://anonhg.NetBSD.org/src/rev/b88c51807c00
branches:  trunk
changeset: 766293:b88c51807c00
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 20 08:46:28 2011 +0000

description:
remove some more ancient HAVE_GCC checks.

diffstat:

 sys/arch/hp700/stand/xxboot/Makefile            |  6 +-----
 sys/arch/i386/stand/netboot/ne2000_isa/Makefile |  4 ++--
 2 files changed, 3 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r fd5a9e5109f1 -r b88c51807c00 sys/arch/hp700/stand/xxboot/Makefile
--- a/sys/arch/hp700/stand/xxboot/Makefile      Mon Jun 20 08:27:15 2011 +0000
+++ b/sys/arch/hp700/stand/xxboot/Makefile      Mon Jun 20 08:46:28 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2009/05/03 17:33:29 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.15 2011/06/20 08:46:28 mrg Exp $
 
 PROG=  xxboot
 NOMAN= # defined
@@ -18,10 +18,6 @@
 
 .include <bsd.own.mk>
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} != 4
-COPTS+=        -fwritable-strings
-.endif
-
 LINKS= ${BINDIR}/${PROG} ${BINDIR}/sdboot
 
 BINDIR=                /usr/mdec
diff -r fd5a9e5109f1 -r b88c51807c00 sys/arch/i386/stand/netboot/ne2000_isa/Makefile
--- a/sys/arch/i386/stand/netboot/ne2000_isa/Makefile   Mon Jun 20 08:27:15 2011 +0000
+++ b/sys/arch/i386/stand/netboot/ne2000_isa/Makefile   Mon Jun 20 08:46:28 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2008/08/29 00:02:24 gmcgarry Exp $
+#      $NetBSD: Makefile,v 1.3 2011/06/20 08:46:28 mrg Exp $
 
 USE_NETIF=     ne2000_isa
 
@@ -6,7 +6,7 @@
 
 .include "../Makefile.netboot"
 
-.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
+.if defined(HAVE_GCC) || defined(HAVE_PCC)
 COPTS.dp8390.c +=      -Wno-pointer-sign
 .endif
 



Home | Main Index | Thread Index | Old Index