From e8e5dccd913b8a525ed8e1e2653f46963337d7f2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 1 Jun 2010 23:49:24 +0000 Subject: 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) --- sys/arch/hppa/conf/Makefile.hppa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/hppa/conf') diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa index c18defcda19..f283b4c4e2e 100644 --- a/sys/arch/hppa/conf/Makefile.hppa +++ b/sys/arch/hppa/conf/Makefile.hppa @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.hppa,v 1.59 2010/05/28 14:27:08 guenther Exp $ +# $OpenBSD: Makefile.hppa,v 1.60 2010/06/01 23:49:22 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -38,7 +38,6 @@ COPTS?= -Os CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS} LINKFLAGS= -X -T ${_machdir}/conf/ld.script -Ttext 80000 --warn-common -STRIPFLAGS= -g -x .if ${IDENT:M-DDDB} != "" CFLAGS+= -fno-omit-frame-pointer @@ -98,6 +97,7 @@ SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@ DEBUG?= .if ${DEBUG} == "-g" +STRIPFLAGS= -g -x SYSTEM_LD_TAIL+=; \ echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ -- cgit v1.2.3