Carl Dong
7476b46f18
guix: Build dmg as a static binary
...
This relatively easy change eliminates all runtime dependencies (except
for the kernel) for dmg, which is the only native build tool that gets
put in our output tarballs.
This allows much more flexibility when constructing the codesigning
environment, and is much more robust.
2021-04-05 11:00:39 -04:00
Carl Dong
06d6cf6784
depends: libdmg-hfsplus: Skip CMake RPATH patching
...
CMake's RPATH patching apparently causes non-reproducibility in the
executables which are produced, manifesting in a difference in padding
in the .dynstr section (we found this while investigating
non-reproducibility in the "dmg" tool). This RPATH patching can be
safely skipped for executables which don't depend on internal shared
libraries.
Documentation sources:
1. https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling
2. https://reproducible-builds.org/docs/deterministic-build-systems/#cmake-notes
Prior debugging art:
1. https://stackoverflow.com/questions/63438206/cmake-g-reproducible-build-issue-with-changing-build-path
2. https://github.com/NXPmicro/mfgtools/pull/229/files
2021-04-05 11:00:39 -04:00
Carl Dong
3ecf0eca63
depends: Use $($(package)_cmake) instead of cmake
2020-08-07 20:52:22 -04:00
fanquake
cb9e88e73a
build: don't embed a build-id when building libdmg-hfsplus
2020-02-06 12:02:09 +08:00
fanquake
9192ce5d63
depends: pull upstream libdmg-hfsplus changes
2019-10-09 10:41:51 -04:00
Cory Fields
1dec09b341
depends: add shared dependency builder
...
See the README's in depends for documentation
2014-08-08 15:10:46 -04:00