Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #315: cmake: Fix prefix maps for Guix builds
f32f42d fixup! cmake: Migrate Guix build scripts to CMake (Hennadii Stepanov) Pull request description: Fixes #297. CMake uses absolute paths for source files when invoking a compiler. This change makes the resulting Guix binaries location independent. The resulting behaviour mirrors that of the master branch. --- NOTE. On the master branch, `HOST_CFLAGS+=" -ffile-prefix-map=${PWD}=."` evaluates to `HOST_CFLAGS+=" -ffile-prefix-map=/bitcoin=."`, which effectively does nothing because there is no such a path among source files being compiled. Binaries appear file path independent because file paths relative to the source directory are used when invoking a compiler. ACKs for top commit: m3dwards: ACK f32f42d Tree-SHA512: 790f010f22394c81f0e3d476934ee67390f8532a5b34f168b31621a56c978ef82563542cbbfc8b583cb38869169f291e814c7820ad86aef3c567b256b8a3c8fd
- Loading branch information