diff options
Diffstat (limited to 'sys/arch/aviion/conf/Makefile.aviion')
-rw-r--r-- | sys/arch/aviion/conf/Makefile.aviion | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/aviion/conf/Makefile.aviion b/sys/arch/aviion/conf/Makefile.aviion index 04d0c1fff15..534307c0950 100644 --- a/sys/arch/aviion/conf/Makefile.aviion +++ b/sys/arch/aviion/conf/Makefile.aviion @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.aviion,v 1.22 2010/05/24 14:59:15 deraadt Exp $ +# $OpenBSD: Makefile.aviion,v 1.23 2010/05/24 19:58:51 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -87,8 +87,9 @@ DEBUG?= .if ${DEBUG} == "-g" LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ - echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ - echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@ + echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ + echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ + ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb .else LINKFLAGS+= -x .endif |