The problem is that Hare directly passes LDFLAGS on to ld, expecting them to be flags for
the linker.
Instead LDFLAGS is commonly used for compiler flags for linking, only actually passing on
-Wl flags.
`%global build_ldflags %(echo %{build_ldflags} | sed "s/-Wl,//g")` may be a
simple drop-in solution for this, but I don't know if ld will accept the comma
separated format or if thats something that the compiler will need to implement.
This may be worth mentioning to devault to figure out if this is worth including in hare
itself