From 708fc83297b92cd4528f25193e5d753c415a3b84 Mon Sep 17 00:00:00 2001 From: turret Date: Mon, 13 Jan 2025 19:11:23 -0600 Subject: ld: add args to shrink binary --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a99b820..1a3db6f 100755 --- a/build.sh +++ b/build.sh @@ -1,2 +1,3 @@ nasm -f elf64 cat.s -o cat.o -ld cat.o -o cat +ld -sN cat.o -o cat +sstrip cat -- cgit v1.2.3