Rip out --build-id=none hack
Currently the driver's object-merging logic passes --build-id=none
to the linker for largely unknown reasons:
-- suppress the generation of the .note.gnu.build-id section,
-- which we don't need and sometimes causes ld to emit a
-- warning:
ld_build_id | toolSettings_ldSupportsBuildId toolSettings' = ["--build-id=none"]
| otherwise = []
This has caused trouble for packagers and the motivation for this is quite unclear. I suggest that we drop it.
The hack was apparently introduced in 2011: a52ff761.