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}" }, } },