summaryrefslogtreecommitdiff
path: root/sys/arch/vax/conf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-06-01 23:49:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-06-01 23:49:24 +0000
commite8e5dccd913b8a525ed8e1e2653f46963337d7f2 (patch)
tree932d55345dc391dcab1070f76ea00bc775e9632d /sys/arch/vax/conf
parent79c8748a119dec8a5336fba03a8c320f96062ec8 (diff)
use --warn-common for linking (some arch's will show new warnings), and
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils strip(1) can handle them too) ok drahn; miod kettenis (for parts)
Diffstat (limited to 'sys/arch/vax/conf')
-rw-r--r--sys/arch/vax/conf/Makefile.vax4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index 7cacbc2694b..6d6229782bf 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.vax,v 1.57 2010/05/29 14:08:20 deraadt Exp $
+# $OpenBSD: Makefile.vax,v 1.58 2010/06/01 23:49:23 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -40,7 +40,6 @@ COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp -traditional-cpp ${CMACHFLAGS}
LINKFLAGS= -N -Ttext 80000000 -e start
-STRIPFLAGS= -d
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
@@ -78,6 +77,7 @@ SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@
DEBUG?=
.if ${DEBUG} == "-g"
LINKFLAGS+= -X
+STRIPFLAGS= -g
SYSTEM_LD_TAIL+=; \
echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \
echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \