Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only pass --[no-]gc-sections if linker is GNU ld.
LinkerFlavor::Gcc does not always mean GNU ld specifically. And in the case of at least the solaris ld in illumos, that flag is unrecognized and will cause the linking step to fail.
- Loading branch information