Don't use -traditional-cpp if HAVE_GCC3.
This commit is contained in:
parent
a46ef4e6ab
commit
d941ddfee0
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.amiga,v 1.99 2002/05/26 12:47:42 jdolecek Exp $
|
||||
# $NetBSD: Makefile.amiga,v 1.100 2002/06/04 21:39:09 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -38,7 +38,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.atari,v 1.66 2001/12/09 05:00:43 atatat Exp $
|
||||
# $NetBSD: Makefile.atari,v 1.67 2002/06/04 21:39:09 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -33,7 +33,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.cesfic,v 1.7 2001/12/09 05:00:43 atatat Exp $
|
||||
# $NetBSD: Makefile.cesfic,v 1.8 2002/06/04 21:39:09 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -34,7 +34,11 @@ GENASSYM= ${CESFIC}/cesfic/genassym.cf
|
||||
WEAK_POINTERS= yes
|
||||
CWARNFLAGS+= -Wno-format
|
||||
CFLAGS+= -msoft-float
|
||||
.if defined(HAVE_GCC3)
|
||||
AFLAGS+= -x assembler-with-cpp -Wa,-m68030 -Wa,-m68851 -Wa,-m68040
|
||||
.else
|
||||
AFLAGS+= -x assembler-with-cpp -traditional-cpp -Wa,-m68030 -Wa,-m68851 -Wa,-m68040
|
||||
.endif
|
||||
|
||||
##
|
||||
## (3) libkern and compat
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.hp300,v 1.82 2001/12/09 05:00:44 atatat Exp $
|
||||
# $NetBSD: Makefile.hp300,v 1.83 2002/06/04 21:39:10 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -33,7 +33,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.i386,v 1.122 2001/12/09 05:00:45 atatat Exp $
|
||||
# $NetBSD: Makefile.i386,v 1.123 2002/06/04 21:39:10 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -32,7 +32,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.luna68k,v 1.13 2001/12/09 05:00:45 atatat Exp $
|
||||
# $NetBSD: Makefile.luna68k,v 1.14 2002/06/04 21:39:10 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -32,7 +32,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.9 2001/10/07 01:39:51 tsutsui Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2002/06/04 21:39:10 thorpej Exp $
|
||||
|
||||
# MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
|
||||
# M68000 Hi-Performance Microprocessor Division
|
||||
@ -47,7 +47,11 @@ CPPFLAGS= ${FPSPCPPFLAGS} ${FPSPMISCCPPFLAGS}
|
||||
|
||||
AS? = as
|
||||
LD? = ld
|
||||
.if defined(HAVE_GCC3)
|
||||
AFLAGS = -x assembler-with-cpp -m68040
|
||||
.else
|
||||
AFLAGS = -x assembler-with-cpp -traditional-cpp -m68040
|
||||
.endif
|
||||
|
||||
#
|
||||
# For the Library Version:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.mac68k,v 1.83 2001/12/09 05:00:45 atatat Exp $
|
||||
# $NetBSD: Makefile.mac68k,v 1.84 2002/06/04 21:39:10 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -33,10 +33,11 @@ GENASSYM= ${MAC68K}/mac68k/genassym.cf
|
||||
##
|
||||
CPPFLAGS+= -Dmac68k
|
||||
CFLAGS+= -msoft-float
|
||||
AFLAGS+= -traditional
|
||||
|
||||
NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's/^\#.*//' | \
|
||||
${AS} -o ${.TARGET}
|
||||
.if defined(HAVE_GCC3)
|
||||
AFLAGS+= -x assembler-with-cpp
|
||||
.else
|
||||
AFLAGS+= -x assembler-with-cpp -traditional-cpp
|
||||
.endif
|
||||
|
||||
##
|
||||
## (3) libkern and compat
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.mips,v 1.26 2002/03/05 14:28:31 simonb Exp $
|
||||
# $NetBSD: Makefile.mips,v 1.27 2002/06/04 21:39:11 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -59,7 +59,11 @@ CPPFLAGS+= -D${MACHINE}
|
||||
DEFGP?= -G 0
|
||||
GP?= ${DEFGP}
|
||||
CFLAGS+= ${ENDIAN} ${GP} -mno-abicalls -mno-half-pic
|
||||
.if defined(HAVE_GCC3)
|
||||
AFLAGS+= ${ENDIAN} -x assembler-with-cpp
|
||||
.else
|
||||
AFLAGS+= ${ENDIAN} -x assembler-with-cpp -traditional-cpp
|
||||
.endif
|
||||
|
||||
##
|
||||
## (3) libkern and compat
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.mvme68k,v 1.55 2001/12/09 05:00:47 atatat Exp $
|
||||
# $NetBSD: Makefile.mvme68k,v 1.56 2002/06/04 21:39:11 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -46,7 +46,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.news68k,v 1.13 2001/12/09 05:00:48 atatat Exp $
|
||||
# $NetBSD: Makefile.news68k,v 1.14 2002/06/04 21:39:11 thorpej Exp $
|
||||
#
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -36,7 +36,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.next68k,v 1.23 2001/12/09 05:00:48 atatat Exp $
|
||||
# $NetBSD: Makefile.next68k,v 1.24 2002/06/04 21:39:11 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -33,7 +33,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sparc,v 1.79 2002/01/22 17:04:31 pk Exp $
|
||||
# $NetBSD: Makefile.sparc,v 1.80 2002/06/04 21:39:12 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -34,7 +34,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sparc64,v 1.45 2002/03/19 18:10:33 eeh Exp $
|
||||
# $NetBSD: Makefile.sparc64,v 1.46 2002/06/04 21:39:12 thorpej Exp $
|
||||
|
||||
#=========================================================================
|
||||
#
|
||||
@ -70,7 +70,11 @@ 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 $<
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sun2,v 1.12 2002/01/28 21:29:46 thorpej Exp $
|
||||
# $NetBSD: Makefile.sun2,v 1.13 2002/06/04 21:39:12 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -30,17 +30,13 @@ GENASSYM= ${SUN2}/sun2/genassym.cf
|
||||
##
|
||||
## (2) compile settings
|
||||
##
|
||||
# Override CPP defaults entirely, so cross-compilation works.
|
||||
# Keep -nostdinc before all -I flags, similar for -undef ...
|
||||
CPPFLAGS+= -Dsun2
|
||||
CFLAGS+= -msoft-float -fno-defer-pop
|
||||
APPFLAGS= -x assembler-with-cpp -P -traditional ${CPPFLAGS} -D_LOCORE
|
||||
|
||||
# Do NOT assume the compiler does "-x funny_format" (gcc-specific)
|
||||
# This needs an intermediate file. The original file is always
|
||||
# safe in some far away directory, so just use the base name.
|
||||
NORMAL_S= ${CPP} ${APPFLAGS} $< > $*.s ;\
|
||||
${AS} -o $@ $*.s ; rm $*.s
|
||||
.if defined(HAVE_GCC3)
|
||||
AFLAGS+= -x assembler-with-cpp
|
||||
.else
|
||||
AFLAGS+= -x assembler-with-cpp -traditional-cpp
|
||||
.endif
|
||||
|
||||
##
|
||||
## (3) libkern and compat
|
||||
@ -87,7 +83,6 @@ stub.o: Makefile
|
||||
##
|
||||
## (7) misc settings
|
||||
##
|
||||
MKDEP_AFLAGS= ${APPFLAGS}
|
||||
|
||||
##
|
||||
## (8) config(8) generated machinery
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sun3,v 1.94 2002/05/30 22:02:13 thorpej Exp $
|
||||
# $NetBSD: Makefile.sun3,v 1.95 2002/06/04 21:39:12 thorpej Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -33,7 +33,11 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.x68k,v 1.55 2001/12/04 15:22:29 minoura Exp $
|
||||
# $NetBSD: Makefile.x68k,v 1.56 2002/06/04 21:39:13 thorpej Exp $
|
||||
#
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -32,7 +32,11 @@ 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user