
Joachim Breitner
Hi,
Am Sonntag, den 30.11.2014, 16:48 -0500 schrieb Ben Gamari:
What would be a reliable way to make the build system pass -B/usr/bin/ld.gold to gcc? Is SRC_HC_OPTS += -optc-B/usr/bin/ld.gold in mk/build.mk a good idea?
Indeed this is much cleaner. I just wanted a way to accomplish this without editing build.mk.
Cleaner maybe, but it was not picked up either. Or maybe we are looking at a different issue, not solved by using ld.gold?
I suspect that it this is the gold issue. I should have looked at your command line a bit more carefully; I suspect you want SRC_HC_OPTS += -optl-B/usr/bin/ld.gold Hopefully this will do it; at least the option appears to make it to the right phase now. Is the Debian packaging tracked in version control somewhere? All I can find is the packaging tarball [1]. Cheers, - Ben [1] https://packages.debian.org/sid/ghc