Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On GNU-compatible compilers, avoid embedding paths into binaries.
This is helpful for reproducible builds, and also makes it easier to debug binaries built on another system.
- Loading branch information
690f87c
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.
This broke my build on macOS Catalina:
690f87c
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.
In case it helps:
690f87c
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.
Okay, this is pretty annoying. This is the changeset that added
-ffile-prefix-map
support to Clang. It got released either in Clang 8 or Clang 9. Unfortunately... Apple uses a totally different versioning scheme for Clang, and "Apple clang 11" could be basically anything. So I'm not sure how exactly to detect this.690f87c
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.
Commit fb536a1 should fix this.