diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-07-12 16:45:04 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-07-15 16:17:33 +0200 |
commit | 6e212a6db9fb04ebb5dd4f365e7cb3a9a9b59e2b (patch) | |
tree | c438d125f94112370bd2ab30d721cb61853d7150 /mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot | |
parent | mkosi: Extend arch build script comment about symlinks (diff) | |
download | systemd-6e212a6db9fb04ebb5dd4f365e7cb3a9a9b59e2b.tar.xz systemd-6e212a6db9fb04ebb5dd4f365e7cb3a9a9b59e2b.zip |
mkosi: Use clang --print-runtime-dir
Diffstat (limited to 'mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot')
-rwxr-xr-x | mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot b/mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot index 444f069b6f..dcdb7584da 100755 --- a/mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot +++ b/mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot @@ -28,7 +28,7 @@ fi MKOSI_LDFLAGS="" if ((LLVM)) && [[ -n "$SANITIZERS" ]]; then - MKOSI_LDFLAGS="$MKOSI_LDFLAGS -Wl,-rpath=$(clang --print-file-name="")lib/linux" + MKOSI_LDFLAGS="$MKOSI_LDFLAGS -Wl,-rpath=$(realpath "$(clang --print-runtime-dir)")" fi MKOSI_MESON_OPTIONS="-D mode=developer -D b_sanitize=${SANITIZERS:-none}" |