diff --git a/hello/Makefile b/hello/Makefile index 7f07b2b..e1030f1 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -1,3 +1,7 @@ +STRIP=riscv64-linux-gnu-strip +CC=riscv64-linux-musl-gcc + + .FAKE: all clean test all: hello @@ -6,7 +10,8 @@ clean: rm -f hello hello: hello.c - musl-gcc -static -O2 -o hello hello.c + $(CC) -static -O2 -o hello hello.c + $(STRIP) hello test: hello ./hello diff --git a/hello/hello b/hello/hello index f459be4..df8443f 100755 Binary files a/hello/hello and b/hello/hello differ diff --git a/hello/hello-glibc b/hello/hello-glibc index bafc493..e79745b 100755 Binary files a/hello/hello-glibc and b/hello/hello-glibc differ