aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <lx@deuxfleurs.fr>2025-02-03 18:53:17 +0100
committerAlex Auvolat <lx@deuxfleurs.fr>2025-02-03 18:53:17 +0100
commite96014ca60331b50a5a67383589ba5b1c74018d0 (patch)
treececfd02fe9137515ad43a3174c8b3e124c7c6aa9 /Makefile
parent568c4954e990a12967d9a07c398b2511d8d4df17 (diff)
parent47e87c8739d7f0d420ea6a01fea99e638414baeb (diff)
downloadgarage-e96014ca60331b50a5a67383589ba5b1c74018d0.tar.gz
garage-e96014ca60331b50a5a67383589ba5b1c74018d0.zip
Merge branch 'main' into next-v2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 55fa16dd..22e1f548 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,10 @@
-.PHONY: doc all release shell run1 run2 run3
+.PHONY: doc all run1 run2 run3
all:
- clear; cargo build
-
-release:
- nix-build --attr pkgs.amd64.release --no-build-output
-
-shell:
- nix-shell
+ clear
+ cargo build \
+ --config 'target.x86_64-unknown-linux-gnu.linker="clang"' \
+ --config 'target.x86_64-unknown-linux-gnu.rustflags=["-C", "link-arg=-fuse-ld=mold"]' \
# ----