From af5dd44e0d76a7dfe51e0c6f5013906e007e6eb8 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 28 Dec 2000 22:19:31 +0000 Subject: Alter compilation flags, since binutils have changed some of their default settings between 2.7 and 2.10. Inspired by a similar NetBSD change. Also, while I'm at it, add more -W stuff to CDIAGFLAGS --- sys/arch/pmax/conf/Makefile.pmax | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/arch/pmax') diff --git a/sys/arch/pmax/conf/Makefile.pmax b/sys/arch/pmax/conf/Makefile.pmax index c3c016f1f46..db5e8aed4a2 100644 --- a/sys/arch/pmax/conf/Makefile.pmax +++ b/sys/arch/pmax/conf/Makefile.pmax @@ -43,13 +43,15 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax #CDIAGFLAGS= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \ # -Wno-uninitialized -Wno-format -Wno-main # ... and this we will use for now to get the kernel compiled -CDIAGFLAGS= -Werror -Wno-main +CDIAGFLAGS= -Werror \ + -Wno-uninitialized -Wno-format -Wno-main -CMACHFLAGS= -mno-abicalls -mcpu=r3000 +GP= -G 0 +CMACHFLAGS= -mno-abicalls -mno-half-pic -mcpu=r3000 ${GP} CFLAGS= ${DEBUG} -O ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE -LINKFLAGS= -N -Ttext 80030000 -e start +LINKFLAGS= -N -Ttext 80030000 -e start ${GP} STRIPFLAGS= -d TOUCHFLAGS= -f -c -- cgit v1.2.3