From 788333a4b2250ee6adca5ddaa01880a1e6129563 Mon Sep 17 00:00:00 2001 From: Peter Ludikovsky Date: Thu, 24 Aug 2023 09:01:50 +0200 Subject: [PATCH] Fix Makefiles for go, rust, zig --- go/Makefile | 2 +- rust/Makefile | 2 +- zig/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go/Makefile b/go/Makefile index 9532fb8..6531d56 100644 --- a/go/Makefile +++ b/go/Makefile @@ -7,7 +7,7 @@ OUT = sleeptest all: $(OUT) $(OUT): $(SRC) - $(GO) -ldflags="-s -w" -o $(OUT) $(SRC) + $(GO) build -ldflags "-s -w" -o $(OUT) $(SRC) clean: rm -f $(OUT) diff --git a/rust/Makefile b/rust/Makefile index 6458edb..7ef307d 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -7,7 +7,7 @@ OUT = sleeptest all: $(OUT) $(OUT): $(SRC) - $(RUSTC) -C symbols -o $(OUT) $(SRC) + $(RUSTC) -C strip=symbols -o $(OUT) $(SRC) clean: rm -f $(OUT) diff --git a/zig/Makefile b/zig/Makefile index 448f1c3..3874646 100644 --- a/zig/Makefile +++ b/zig/Makefile @@ -7,7 +7,7 @@ OUT = sleeptest all: $(OUT) $(OUT): $(SRC) - $(ZIG) -Wall -s -o $(OUT) $(SRC) + $(ZIG) cc -Wall -s -o $(OUT) $(SRC) clean: rm -f $(OUT)