diff options
author | semarie <semarie@openbsd.org> | 2021-02-13 18:41:52 +0000 |
---|---|---|
committer | semarie <semarie@openbsd.org> | 2021-02-13 18:41:52 +0000 |
commit | e962cb65b4b6cf691b48b8204605e7e4e57a0f34 (patch) | |
tree | 45ea5c14a2f7dff57d67d1f98263c3d224f24fa3 /distrib/sparc64/miniroot | |
parent | distrib: remove STRIPOPTS variable from alpha and sparc64 Makefile (diff) | |
download | wireguard-openbsd-e962cb65b4b6cf691b48b8204605e7e4e57a0f34.tar.xz wireguard-openbsd-e962cb65b4b6cf691b48b8204605e7e4e57a0f34.zip |
distrib: merge objcopy -Sg and strip commands
in the command "objcopy -Sg", the -g option (STRIP_DEBUG) overrides
the -S option (STRIP_ALL). so it is the same as "objcopy -g".
"strip" command without option is doing STRIP_ALL.
merge the both commands to "objcopy -S"
ok deraadt@ danj@
Diffstat (limited to 'distrib/sparc64/miniroot')
-rw-r--r-- | distrib/sparc64/miniroot/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/sparc64/miniroot/Makefile b/distrib/sparc64/miniroot/Makefile index 2d8c924bc6e..4aa85fa391a 100644 --- a/distrib/sparc64/miniroot/Makefile +++ b/distrib/sparc64/miniroot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.24 2021/02/13 18:39:40 semarie Exp $ +# $OpenBSD: Makefile,v 1.25 2021/02/13 18:41:52 semarie Exp $ FS= miniroot${OSrev}.img FSSIZE= 6400 @@ -59,8 +59,7 @@ ${CDROM}: bsd.rd ${FS} mksuncd f ${CDROM} ${FS} bsd.gz: bsd.rd - objcopy -Sg -R .comment bsd.rd bsd.strip - strip -R .SUNW_ctf bsd.strip + objcopy -S -R .comment -R .SUNW_ctf bsd.rd bsd.strip gzip -9cn bsd.strip > bsd.gz bsd.rd: mr.fs bsd |