summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-02-19 11:15:25 -0800
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-02-19 11:15:25 -0800
commita719095158e1be3ac68415a616d78e58571b07f9 (patch)
treef97ba83d05ed30a4c53166206de808038daa08af /Makefile
parentd8dd0be32ae2c55c5fdf5b165a00482bdcf13f5d (diff)
Makefile update for new Zig build flags
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e36a844dd..5db8f24ff 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ init:
# Slightly cursed way that we setup a dev version of this locally on NixOS.
dev/install:
- zig build -Dcpu=baseline -Drelease-fast
+ zig build -Dcpu=baseline -Doptimize=ReleaseFast
if [ -f "/etc/NIXOS" ]; then patchelf --set-rpath "${LD_LIBRARY_PATH}" zig-out/bin/ghostty; fi
mkdir -p ${HOME}/bin
cp zig-out/bin/ghostty ${HOME}/bin/devtty