diff options
author | Vagrant Cascadian <vagrant@reproducible-builds.org> | 2022-04-17 23:12:47 +0000 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2022-05-07 10:45:43 +0200 |
commit | e6cefc7683de4f29be7ebcab004ea0ab80ce49bc (patch) | |
tree | 97401a14324b1c45b4fcabc7f15873b29aedd34a | |
parent | 4fe52f98c7d12bc8fb07411b1c0594a032eadb3a (diff) |
Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via dh_auto_configure override
CMake by default sets the RPATH property on executables that link to
shared libraries in the same project with an absolute path, which
triggers BuildId differences.
References: https://tests.reproducible-builds.org/debian/issues/unstable/cmake_rpath_contains_build_path_issue.html
https://gitlab.kitware.com/cmake/cmake/-/issues/18413
Closes: #1009796
[@donkult: reworded commit message slightly and have flag passed first]
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 8a110f7a1..202f1b86d 100755 --- a/debian/rules +++ b/debian/rules @@ -47,4 +47,4 @@ override_dh_installsystemd: override_dh_auto_configure-arch: flags=-DWITH_DOC=OFF override_dh_auto_configure-indep: flags=-DWITH_DOC=ON override_dh_auto_configure-arch override_dh_auto_configure-indep: - dh_auto_configure -- $(flags) $(configure_test_flags) + dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON $(flags) $(configure_test_flags) |