mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Makefile update for new Zig build flags
This commit is contained in:
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ init:
|
|||||||
|
|
||||||
# Slightly cursed way that we setup a dev version of this locally on NixOS.
|
# Slightly cursed way that we setup a dev version of this locally on NixOS.
|
||||||
dev/install:
|
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
|
if [ -f "/etc/NIXOS" ]; then patchelf --set-rpath "${LD_LIBRARY_PATH}" zig-out/bin/ghostty; fi
|
||||||
mkdir -p ${HOME}/bin
|
mkdir -p ${HOME}/bin
|
||||||
cp zig-out/bin/ghostty ${HOME}/bin/devtty
|
cp zig-out/bin/ghostty ${HOME}/bin/devtty
|
||||||
|
Reference in New Issue
Block a user