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:
David Given 2016-11-24 21:03:27 +01:00
parent 7435c06ff4
commit b5980af06f

View file

@ -220,7 +220,7 @@ definerule("cprogram",
commands = {
type="strings",
default={
"$(CC) -o %{outs[1]} -Wl,--start-group %{ins} -Wl,--end-group"
"$(CC) -o %{outs[1]} %{ins} %{ins}"
},
}
},