diff options
Diffstat (limited to 'sys/arch/mac68k/conf/Makefile.mac68k')
-rw-r--r-- | sys/arch/mac68k/conf/Makefile.mac68k | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k index fc34835a62e..28fc8c8a64c 100644 --- a/sys/arch/mac68k/conf/Makefile.mac68k +++ b/sys/arch/mac68k/conf/Makefile.mac68k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mac68k,v 1.60 2010/05/24 17:49:37 deraadt Exp $ +# $OpenBSD: Makefile.mac68k,v 1.61 2010/05/24 19:58:51 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -83,8 +83,9 @@ DEBUG?= .if ${DEBUG} == "-g" LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ - echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \ - echo ${STRIP} $@; ${STRIP} $@ + echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ + echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ + ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb .else LINKFLAGS+= -S .endif |