summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-08-19 05:11:31 +0000
committerart <art@openbsd.org>2001-08-19 05:11:31 +0000
commit3bef039ac5a0d9eabf6219d87e13ff59026b3b60 (patch)
treeaeab9bedce6142fbffa7f84ebe5417f0ecaad0b6
parentDEBUG causes too much trouble right now. (diff)
downloadwireguard-openbsd-3bef039ac5a0d9eabf6219d87e13ff59026b3b60.tar.xz
wireguard-openbsd-3bef039ac5a0d9eabf6219d87e13ff59026b3b60.zip
More sensible linker flags.
-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