summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/conf
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-19 05:11:32 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-19 05:11:32 +0000
commit0b633e8398061322def21ea4f21bd46aa8343192 (patch)
treec37521e23b484221d4cfcbe1df93019b57b2af8c /sys/arch/sparc64/conf
parentb4407d46ad9de72893ea3de416875ba205e1a0e6 (diff)
More sensible linker flags.
Diffstat (limited to 'sys/arch/sparc64/conf')
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc645
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64
index 74995f4332d..ba29d7b2421 100644
--- a/sys/arch/sparc64/conf/Makefile.sparc64
+++ b/sys/arch/sparc64/conf/Makefile.sparc64
@@ -17,7 +17,8 @@ S!= cd ../../../..; pwd
SPARC64= $S/arch/sparc64
INCLUDES= -nostdinc -I. -I$S/arch -I$S
-CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dsparc64
+# XXX - remove the __OpenBSD__ later!
+CPPFLAGS= -D__OpenBSD__ ${INCLUDES} ${IDENT} -D_KERNEL -Dsparc64
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main
@@ -26,7 +27,7 @@ CMACHFLAGS= -Wa,-Av9a, -mno-fpu
CFLAGS= ${DEBUG} -O2 ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE -Wa,-Av9a
-LINKFLAGS= -N -p -Ttext 01000000 -Tdata 01800000 -e start
+LINKFLAGS= -n -Ttext 01000000 -Tdata 01800000 -e start
STRIPFLAGS= -d
TOUCHFLAGS= -f -c