Source-Changes-HG archive

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

[src/trunk]: src remove various HAVE_GCC=45 fragments.



details:   https://anonhg.NetBSD.org/src/rev/0e6b361a3831
branches:  trunk
changeset: 337472:0e6b361a3831
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Apr 15 19:13:46 2015 +0000

description:
remove various HAVE_GCC=45 fragments.

diffstat:

 crypto/external/bsd/netpgp/lib/verify/Makefile |   7 +------
 external/bsd/libelf/lib/Makefile               |   6 +-----
 external/gpl3/gcc/lib/libgcc/Makefile.inc      |   7 +------
 lib/libc/arch/aarch64/Makefile.inc             |   6 +-----
 lib/libc/arch/sparc64/Makefile.inc             |   6 +-----
 lib/libc/net/Makefile.inc                      |  10 +---------
 lib/libc/rpc/Makefile.inc                      |   7 +------
 sbin/fsdb/Makefile                             |   7 +------
 sys/arch/hp300/conf/Makefile.hp300             |   6 +-----
 sys/arch/sun3/conf/Makefile.sun3               |   4 +---
 sys/lib/libkern/Makefile.libkern               |   6 +-----
 11 files changed, 11 insertions(+), 61 deletions(-)

diffs (214 lines):

diff -r f15a1f9aabe2 -r 0e6b361a3831 crypto/external/bsd/netpgp/lib/verify/Makefile
--- a/crypto/external/bsd/netpgp/lib/verify/Makefile    Wed Apr 15 15:45:06 2015 +0000
+++ b/crypto/external/bsd/netpgp/lib/verify/Makefile    Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2014/12/05 04:42:36 agc Exp $
+# $NetBSD: Makefile,v 1.8 2015/04/15 19:13:46 mrg Exp $
 
 LIB=netpgpverify
 SRCS+=b64.c
@@ -27,8 +27,3 @@
 INCSDIR=/usr/include/netpgp
 
 .include <bsd.lib.mk>
-
-.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "ia64"
-COPTS.bignum.c+=       ${${ACTIVE_CC} == "gcc" :? -O1 :}
-.endif
-
diff -r f15a1f9aabe2 -r 0e6b361a3831 external/bsd/libelf/lib/Makefile
--- a/external/bsd/libelf/lib/Makefile  Wed Apr 15 15:45:06 2015 +0000
+++ b/external/bsd/libelf/lib/Makefile  Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2012/12/27 08:06:28 martin Exp $
+#      $NetBSD: Makefile,v 1.4 2015/04/15 19:13:46 mrg Exp $
 
 .include <bsd.init.mk>
 
@@ -49,10 +49,6 @@
 CLEANFILES+=   ${LIBELF_GENSRCS}
 CPPFLAGS+=     -I${.CURDIR}
 
-.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "ia64"
-COPTS.libelf_extended.c+=      ${${ACTIVE_CC} == "gcc" :? -O1 :}
-.endif
-
 MAN=           elf.3                                                   \
                elf_begin.3                                             \
                elf_cntl.3                                              \
diff -r f15a1f9aabe2 -r 0e6b361a3831 external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Wed Apr 15 15:45:06 2015 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.29 2014/08/21 08:52:23 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.30 2015/04/15 19:13:46 mrg Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -193,8 +193,3 @@
 
 EXTRA_FAKEHEADERS=     options.h libgcc_tm.h
 .include "../../Makefile.hacks"
-
-# XXX
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 45 && ${LIBGCC_MACHINE_ARCH} == "m68k"
-COPTS._fixunsxfdi.c+=  -O0
-.endif
diff -r f15a1f9aabe2 -r 0e6b361a3831 lib/libc/arch/aarch64/Makefile.inc
--- a/lib/libc/arch/aarch64/Makefile.inc        Wed Apr 15 15:45:06 2015 +0000
+++ b/lib/libc/arch/aarch64/Makefile.inc        Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2014/08/10 05:47:36 matt Exp $
+# $NetBSD: Makefile.inc,v 1.2 2015/04/15 19:13:46 mrg Exp $
 
 SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
 #SRCS+= qdivrem.c
@@ -16,7 +16,3 @@
 SRCS+= ${SRCS.softfloat}
 CPPFLAGS+=      -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \
                -I${.CURDIR}/softfloat/bits64
-
-#.if ${HAVE_GCC} == 45
-#COPTS.softfloat-wrapper.c+=   -Wno-enum-compare
-#.endif
diff -r f15a1f9aabe2 -r 0e6b361a3831 lib/libc/arch/sparc64/Makefile.inc
--- a/lib/libc/arch/sparc64/Makefile.inc        Wed Apr 15 15:45:06 2015 +0000
+++ b/lib/libc/arch/sparc64/Makefile.inc        Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.19 2012/03/21 14:10:47 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.20 2015/04/15 19:13:46 mrg Exp $
 
 SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
 
@@ -20,8 +20,4 @@
 CPPFLAGS+=      -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \
                -I${.CURDIR}/softfloat/bits64
 
-.if ${HAVE_GCC} == 45
-COPTS.softfloat-wrapper.c+=    -Wno-enum-compare
 .endif
-
-.endif
diff -r f15a1f9aabe2 -r 0e6b361a3831 lib/libc/net/Makefile.inc
--- a/lib/libc/net/Makefile.inc Wed Apr 15 15:45:06 2015 +0000
+++ b/lib/libc/net/Makefile.inc Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.85 2013/10/19 19:56:56 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.86 2015/04/15 19:13:46 mrg Exp $
 #      @(#)Makefile.inc        8.2 (Berkeley) 9/5/93
 
 # net sources
@@ -17,9 +17,6 @@
 
 .if (${MKHESIOD} != "no")
 SRCS+= hesiod.c
-.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "ia64"
-COPTS.hesiod.c+=       ${${ACTIVE_CC} == "gcc" :? -O1 :}
-.endif
 .endif
 
 SRCS+= getaddrinfo.c getnameinfo.c
@@ -44,11 +41,6 @@
 
 .include "${ARCHDIR}/net/Makefile.inc"
 
-.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "arm"
-COPTS.getaddrinfo.c+=  ${${ACTIVE_CC} == "gcc" :? -fno-tree-ter :}
-COPTS.gethnamaddr.c+=  ${${ACTIVE_CC} == "gcc" :? -fno-tree-ter :}
-.endif
-
 MAN+=  byteorder.3 ethers.3 gethostbyname.3 getifaddrs.3 \
        getnetent.3 getprotoent.3 getpeereid.3 \
        getservent.3 inet.3 inet_net.3 linkaddr.3 \
diff -r f15a1f9aabe2 -r 0e6b361a3831 lib/libc/rpc/Makefile.inc
--- a/lib/libc/rpc/Makefile.inc Wed Apr 15 15:45:06 2015 +0000
+++ b/lib/libc/rpc/Makefile.inc Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.21 2012/08/10 12:20:10 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.22 2015/04/15 19:13:47 mrg Exp $
 
 # librpc sources
 .PATH: ${.CURDIR}/rpc
@@ -167,8 +167,3 @@
                xdr.3 xdr_vector.3 \
                xdr.3 xdr_void.3 \
                xdr.3 xdr_wrapstring.3
-
-# XXX
-.if ${HAVE_GCC:U} == 45 || ${MACHINE} == "vax"
-COPTS.xdr_float.c+= -fno-strict-aliasing
-.endif
diff -r f15a1f9aabe2 -r 0e6b361a3831 sbin/fsdb/Makefile
--- a/sbin/fsdb/Makefile        Wed Apr 15 15:45:06 2015 +0000
+++ b/sbin/fsdb/Makefile        Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.36 2013/11/09 21:39:27 christos Exp $
+#      $NetBSD: Makefile,v 1.37 2015/04/15 19:13:47 mrg Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 .include <bsd.own.mk>
@@ -40,8 +40,3 @@
 .endif
 
 .include <bsd.prog.mk>
-
-# XXX
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 45 && ${MACHINE_ARCH} == "vax"
-COPTS.fsdb.c+= -O0
-.endif
diff -r f15a1f9aabe2 -r 0e6b361a3831 sys/arch/hp300/conf/Makefile.hp300
--- a/sys/arch/hp300/conf/Makefile.hp300        Wed Apr 15 15:45:06 2015 +0000
+++ b/sys/arch/hp300/conf/Makefile.hp300        Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.hp300,v 1.89 2011/07/09 15:01:33 mrg Exp $
+#      $NetBSD: Makefile.hp300,v 1.90 2015/04/15 19:13:47 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -70,10 +70,6 @@
 ## (7) misc settings
 ##
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 45
-CWARNFLAGS.diofb.c+=    -Wno-cast-qual
-.endif
-
 ##
 ## (8) config(8) generated machinery
 ##
diff -r f15a1f9aabe2 -r 0e6b361a3831 sys/arch/sun3/conf/Makefile.sun3
--- a/sys/arch/sun3/conf/Makefile.sun3  Wed Apr 15 15:45:06 2015 +0000
+++ b/sys/arch/sun3/conf/Makefile.sun3  Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun3,v 1.103 2011/07/09 15:04:06 mrg Exp $
+# $NetBSD: Makefile.sun3,v 1.104 2015/04/15 19:13:47 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -33,9 +33,7 @@
 ##
 CPPFLAGS+=     -Dsun3
 CFLAGS+=       ${CMACHFLAGS} -fno-defer-pop
-.if defined(HAVE_GCC) && ${HAVE_GCC} != 45
 CFLAGS+=       -msoft-float
-.endif
 AFLAGS+=       -x assembler-with-cpp
 
 ##
diff -r f15a1f9aabe2 -r 0e6b361a3831 sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern  Wed Apr 15 15:45:06 2015 +0000
+++ b/sys/lib/libkern/Makefile.libkern  Wed Apr 15 19:13:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libkern,v 1.37 2015/01/16 18:36:31 christos Exp $
+#      $NetBSD: Makefile.libkern,v 1.38 2015/04/15 19:13:47 mrg Exp $
 
 # 
 # Variable definitions for libkern.  
@@ -111,7 +111,3 @@
 SRCS := ${SRCS:N${unwanted_file}}
 .endif
 .endfor
-
-.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "hppa"
-COPTS.md5c.c +=                ${${ACTIVE_CC} == "gcc" :? -O0 :}
-.endif



Home | Main Index | Thread Index | Old Index