hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit b76e834c19d10ce7ecc14e5eccbbeef0e7de782b
parent 4bfeb3d566e887a0516ca69d41a5effbb38d2fb0
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  3 Feb 2023 18:44:25 +0100

cmd/hare: Use LDLINKFLAGS instead of LDFLAGS

Implements: https://todo.sr.ht/~sircmpwn/hare/784
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>

Diffstat:
Mcmd/hare/schedule.ha | 2+-
Mdocs/hare.scd | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/hare/schedule.ha b/cmd/hare/schedule.ha @@ -41,7 +41,7 @@ fn getenv(var: str) []str = { // (executable name, executable variable, flags variable) type tool = (str, str, str); -let ld_tool: tool = ("", "LD", "LDFLAGS"); +let ld_tool: tool = ("", "LD", "LDLINKFLAGS"); let as_tool: tool = ("", "AS", "ASFLAGS"); let ar_tool: tool = ("", "AR", "ARFLAGS"); let qbe_tool: tool = ("qbe", "QBE", "QBEFLAGS"); diff --git a/docs/hare.scd b/docs/hare.scd @@ -297,7 +297,7 @@ The following environment variables affect *hare*'s execution: : Additional flags to pass to *as*(1). | *LD* : Name of the *ld*(1) command to use. -| *LDFLAGS* +| *LDLINKFLAGS* : Additional flags to pass to *ld*(1). # SEE ALSO