Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
emacs: use -B flags for native compilation dependencies
The -B flag to gcc (and libgccjit) allows us to specify where it can find things it needs to correctly compile code (both programs and libraries) without adjusting any environmental flags: So, no need to wrap the program for a PATH entry containing binutils, and no need to explicitly pass a linker path anymore.
- Loading branch information
04fffd6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think the issue I see with compilation failures is related to this? I had guessed that fixing the error I see would require a wrapper, but this commit message seems to be suggesting the opposite.
04fffd6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've opened a PR that seems to fix this for me, but I'm surprised nobody else has reported an issue. @antifuchs