Makefile update for new Zig build flags

This commit is contained in:
Mitchell Hashimoto
2023-02-19 11:15:25 -08:00
parent d8dd0be32a
commit a719095158

View File

@ -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