public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53fb856
)
Ensure that cflags is honoured when linking cprograms. (Needed for -pg to
author
David Given
<dg@cowlark.com>
Thu, 15 Dec 2016 23:34:57 +0000
(
00:34
+0100)
committer
David Given
<dg@cowlark.com>
Thu, 15 Dec 2016 23:34:57 +0000
(
00:34
+0100)
work.)
first/build.lua
patch
|
blob
|
history
diff --git
a/first/build.lua
b/first/build.lua
index
85df519
..
60d1954
100644
(file)
--- a/
first/build.lua
+++ b/
first/build.lua
@@
-220,7
+220,7
@@
definerule("cprogram",
commands = {
type="strings",
default={
- "$(CC) -o %{outs[1]} -Wl,--start-group %{ins} -Wl,--end-group"
+ "$(CC)
%{cflags}
-o %{outs[1]} -Wl,--start-group %{ins} -Wl,--end-group"
},
}
},