hare

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

commit aada50172c781e8360dec73f65f893a9a89cd47e
parent 3825875eb530ba6354461026bd99cefedf7148ef
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Mon, 19 Apr 2021 01:45:01 -0400

cmd/hare: pass --gc-sections to ld

Diffstat:
Mcmd/hare/schedule.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cmd/hare/schedule.ha b/cmd/hare/schedule.ha @@ -66,6 +66,7 @@ fn sched_ld(plan: *plan, output: str, depend: *task...) *task = { depend = mkdepends(depend...), cmd = alloc([ os::tryenv("LD", "ld"), + "--gc-sections", "-T", plan.script, "-o", output, ]),