From 79aff56b62b8f814cf7f9338420e0ad7e8ccdbdb Mon Sep 17 00:00:00 2001 From: David Given Date: Tue, 19 Jul 2022 21:21:23 +0200 Subject: [PATCH] Actually honour LDFLAGS. --- first/build.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first/build.lua b/first/build.lua index 20d834437..9fbc78080 100644 --- a/first/build.lua +++ b/first/build.lua @@ -225,7 +225,7 @@ definerule("cprogram", commands = { type="strings", default={ - "$(CC) -o %{outs[1]} %{ins} %{ins}" + "$(CC) $LDFLAGS -o %{outs[1]} %{ins} %{ins}" }, } },