diff --git a/drivers/ramdisk/Makefile b/drivers/ramdisk/Makefile index 59ed1d94f..151d4bae1 100644 --- a/drivers/ramdisk/Makefile +++ b/drivers/ramdisk/Makefile @@ -155,7 +155,7 @@ proto.gen: elfstrip .PHONY: elfstrip elfstrip: $(PROGRAMS) - strip $(PROGRAMS) + strip -s $(PROGRAMS) .endif .include diff --git a/tools/Makefile b/tools/Makefile index 52ef830e6..ce5c27621 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -64,7 +64,7 @@ image: includes services ${PAD_KERNEL_TEXT} mkimage $(PROGRAMS) cp ${KERNEL} ${PROGRAMS} /boot - strip ${KERNEL:T:S/^/\/boot\//} ${PROGRAMS:T:S/^/\/boot\//} + strip -s ${KERNEL:T:S/^/\/boot\//} ${PROGRAMS:T:S/^/\/boot\//} .else image: includes services ${PAD_KERNEL_TEXT}