summaryrefslogtreecommitdiff
path: root/sys/arch/pmax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2000-12-28 22:19:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2000-12-28 22:19:31 +0000
commitaf5dd44e0d76a7dfe51e0c6f5013906e007e6eb8 (patch)
tree615dfab7fa0b9d6ae704be96e18c23c88fa5813d /sys/arch/pmax
parent695161d98c72a6cd054604560ffa52d9162d83c0 (diff)
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
Diffstat (limited to 'sys/arch/pmax')
-rw-r--r--sys/arch/pmax/conf/Makefile.pmax8
1 files changed, 5 insertions, 3 deletions
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