The traditional C preprocessor is fixed in GCC 3.3 now, so no need

to skip -traditional-cpp for HAVE_GCC3.
This commit is contained in:
thorpej 2002-11-26 18:51:12 +00:00
parent 514f7047e4
commit 09dfaace39
14 changed files with 14 additions and 70 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.amiga,v 1.100 2002/06/04 21:39:09 thorpej Exp $
# $NetBSD: Makefile.amiga,v 1.101 2002/11/26 18:51:12 thorpej Exp $
# Makefile for NetBSD
#
@ -38,11 +38,7 @@ CMACHFLAGS= -m68020
CMACHFLAGS= -m68060 -Wa,-m68030 -Wa,-m68851
.endif
CFLAGS+= ${CMACHFLAGS} -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.atari,v 1.67 2002/06/04 21:39:09 thorpej Exp $
# $NetBSD: Makefile.atari,v 1.68 2002/11/26 18:51:13 thorpej Exp $
# Makefile for NetBSD
#
@ -33,11 +33,7 @@ CMACHFLAGS= -m68020
CMACHFLAGS= -m68060 -Wa,-m68030
.endif
CFLAGS+= ${CMACHFLAGS} -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.hp300,v 1.83 2002/06/04 21:39:10 thorpej Exp $
# $NetBSD: Makefile.hp300,v 1.84 2002/11/26 18:51:14 thorpej Exp $
# Makefile for NetBSD
#
@ -33,11 +33,7 @@ GENASSYM= ${HP300}/hp300/genassym.cf
##
CPPFLAGS+= -Dhp300
CFLAGS+= -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.i386,v 1.126 2002/11/24 18:56:01 christos Exp $
# $NetBSD: Makefile.i386,v 1.127 2002/11/26 18:51:14 thorpej Exp $
# Makefile for NetBSD
#
@ -32,11 +32,7 @@ GENASSYM= ${I386}/i386/genassym.cf
## (2) compile settings
##
CPPFLAGS+= -Di386
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.luna68k,v 1.14 2002/06/04 21:39:10 thorpej Exp $
# $NetBSD: Makefile.luna68k,v 1.15 2002/11/26 18:51:14 thorpej Exp $
# Makefile for NetBSD
#
@ -32,11 +32,7 @@ GENASSYM= ${LUNA68K}/luna68k/genassym.cf
##
CPPFLAGS+= -Dluna68k
CFLAGS+= -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mac68k,v 1.84 2002/06/04 21:39:10 thorpej Exp $
# $NetBSD: Makefile.mac68k,v 1.85 2002/11/26 18:51:15 thorpej Exp $
# Makefile for NetBSD
#
@ -33,11 +33,7 @@ GENASSYM= ${MAC68K}/mac68k/genassym.cf
##
CPPFLAGS+= -Dmac68k
CFLAGS+= -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mvme68k,v 1.56 2002/06/04 21:39:11 thorpej Exp $
# $NetBSD: Makefile.mvme68k,v 1.57 2002/11/26 18:51:15 thorpej Exp $
# Makefile for NetBSD
#
@ -46,11 +46,7 @@ CMACHFLAGS= -m68020-60 -Wa,-m68030 -Wa,-m68851
.endif
.endif
CFLAGS+= ${CMACHFLAGS} -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.news68k,v 1.14 2002/06/04 21:39:11 thorpej Exp $
# $NetBSD: Makefile.news68k,v 1.15 2002/11/26 18:51:16 thorpej Exp $
#
# Makefile for NetBSD
#
@ -36,11 +36,7 @@ GENASSYM= ${NEWS68K}/news68k/genassym.cf
##
CPPFLAGS+= -Dnews68k
CFLAGS+= -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.next68k,v 1.24 2002/06/04 21:39:11 thorpej Exp $
# $NetBSD: Makefile.next68k,v 1.25 2002/11/26 18:51:16 thorpej Exp $
# Makefile for NetBSD
#
@ -33,11 +33,7 @@ GENASSYM= ${NEXT68K}/next68k/genassym.cf
##
CPPFLAGS+= -Dnext68k
CFLAGS+= -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sparc,v 1.81 2002/07/01 16:37:08 christos Exp $
# $NetBSD: Makefile.sparc,v 1.82 2002/11/26 18:51:16 thorpej Exp $
# Makefile for NetBSD
#
@ -34,11 +34,7 @@ GENASSYM= ${SPARC}/sparc/genassym.cf
# work around GCC (egcs-2.91.66) bug which is liable
# to use FPU registers as temporaries:
CFLAGS+= -mno-fpu
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sparc64,v 1.48 2002/09/06 06:16:57 jdolecek Exp $
# $NetBSD: Makefile.sparc64,v 1.49 2002/11/26 18:51:17 thorpej Exp $
#=========================================================================
#
@ -70,11 +70,7 @@ CPPFLAGS+= -m32 -Wa,-Av8plusa -mcpu=ultrasparc
AFLAGS+= -Wa,-Av8plusa
.endif
CFLAGS+= -mno-fpu
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
NOOPT_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -O0 -c $<

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sun2,v 1.14 2002/10/20 02:37:33 chs Exp $
# $NetBSD: Makefile.sun2,v 1.15 2002/11/26 18:51:17 thorpej Exp $
# Makefile for NetBSD
#
@ -33,11 +33,7 @@ GENASSYM= ${SUN2}/sun2/genassym.cf
##
CPPFLAGS+= -Dsun2
CFLAGS+= -msoft-float -fno-defer-pop
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sun3,v 1.95 2002/06/04 21:39:12 thorpej Exp $
# $NetBSD: Makefile.sun3,v 1.96 2002/11/26 18:51:17 thorpej Exp $
# Makefile for NetBSD
#
@ -33,11 +33,7 @@ GENASSYM= ${SUN3}/${MACHTYPE}/genassym.cf
##
CPPFLAGS+= -Dsun3
CFLAGS+= ${CMACHFLAGS} -msoft-float -fno-defer-pop
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.x68k,v 1.56 2002/06/04 21:39:13 thorpej Exp $
# $NetBSD: Makefile.x68k,v 1.57 2002/11/26 18:51:18 thorpej Exp $
#
# Makefile for NetBSD
#
@ -32,11 +32,7 @@ GENASSYM= ${X68K}/x68k/genassym.cf
## (2) compile settings
##
CPPFLAGS+= -Dx68k
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
CMACHFLAGS?= -m68020-60 -Wa,-m68030 -Wa,-m68851
CFLAGS+= ${CMACHFLAGS} -msoft-float