Linker groups don't work on OSX; go back to the hacky way of simply specifying
the inputs multiple times, which seems to work.
This commit is contained in:
parent
7435c06ff4
commit
b5980af06f
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ definerule("cprogram",
|
||||||
commands = {
|
commands = {
|
||||||
type="strings",
|
type="strings",
|
||||||
default={
|
default={
|
||||||
"$(CC) -o %{outs[1]} -Wl,--start-group %{ins} -Wl,--end-group"
|
"$(CC) -o %{outs[1]} %{ins} %{ins}"
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue