aboutsummaryrefslogtreecommitdiffstats
path: root/link
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2020-09-12 00:50:29 +0100
committerTomasz Kramkowski <tk@the-tk.com>2020-09-12 00:50:29 +0100
commit13ab608a4bb4b6093c6095a2a0b975a3572855c2 (patch)
tree279ae9151b068a495baad1f0d93f96a63f71ff43 /link
parent8d1175ab41dd64de007628def55e8c4b19c7538c (diff)
downloadpack-13ab608a4bb4b6093c6095a2a0b975a3572855c2.tar.gz
pack-13ab608a4bb4b6093c6095a2a0b975a3572855c2.tar.xz
pack-13ab608a4bb4b6093c6095a2a0b975a3572855c2.zip
build: Fix flag passing to the linker and compiler.
Diffstat (limited to 'link')
-rw-r--r--link2
1 files changed, 1 insertions, 1 deletions
diff --git a/link b/link
index 2b99b87..08006ad 100644
--- a/link
+++ b/link
@@ -1,4 +1,4 @@
#/fake/bash
redo-ifchange "$0" "link" "${deps[@]}"
. loadargs "link"
-gcc -o "$3" "${deps[@]}"
+gcc "${args[@]}" -o "$3" "${deps[@]}"