Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/dhcp remove gcc-4.5 hacks



details:   https://anonhg.NetBSD.org/src/rev/0162b9624885
branches:  trunk
changeset: 768434:0162b9624885
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Aug 16 16:37:07 2011 +0000

description:
remove gcc-4.5 hacks

diffstat:

 usr.sbin/dhcp/common/Makefile  |  6 +-----
 usr.sbin/dhcp/omshell/Makefile |  7 +------
 usr.sbin/dhcp/server/Makefile  |  6 +-----
 3 files changed, 3 insertions(+), 16 deletions(-)

diffs (52 lines):

diff -r 9a1d962d9d0c -r 0162b9624885 usr.sbin/dhcp/common/Makefile
--- a/usr.sbin/dhcp/common/Makefile     Tue Aug 16 16:36:38 2011 +0000
+++ b/usr.sbin/dhcp/common/Makefile     Tue Aug 16 16:37:07 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2011/06/29 06:34:31 mrg Exp $
+# $NetBSD: Makefile,v 1.27 2011/08/16 16:37:07 christos Exp $
 
 LIBISPRIVATE=  yes
 
@@ -12,7 +12,3 @@
 DHCPSRCDIR=    common
 
 .include <bsd.lib.mk>
-
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
-CPPFLAGS.dns.c+=       -Wno-enum-compare
-.endif
diff -r 9a1d962d9d0c -r 0162b9624885 usr.sbin/dhcp/omshell/Makefile
--- a/usr.sbin/dhcp/omshell/Makefile    Tue Aug 16 16:36:38 2011 +0000
+++ b/usr.sbin/dhcp/omshell/Makefile    Tue Aug 16 16:37:07 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/06/22 02:49:45 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2011/08/16 16:37:07 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -14,8 +14,3 @@
 DPADD+=        ${CTLOBJDIR}/libdhcpctl.a
 
 .include <bsd.prog.mk>
-
-# XXX
-.if ${HAVE_GCC} == 45
-COPTS.omshell.c+=      -Wno-error
-.endif
diff -r 9a1d962d9d0c -r 0162b9624885 usr.sbin/dhcp/server/Makefile
--- a/usr.sbin/dhcp/server/Makefile     Tue Aug 16 16:36:38 2011 +0000
+++ b/usr.sbin/dhcp/server/Makefile     Tue Aug 16 16:37:07 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2011/06/29 06:34:31 mrg Exp $
+# $NetBSD: Makefile,v 1.17 2011/08/16 16:37:07 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -20,7 +20,3 @@
 .endif
 
 .include <bsd.prog.mk>
-
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
-CPPFLAGS.ddns.c+=      -Wno-enum-compare
-.endif



Home | Main Index | Thread Index | Old Index