From 585515f423a39884e1ee1845dfba55aea5218e32 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 30 Nov 2023 20:08:32 -0500 Subject: [PATCH] common/build-helper/meson: pass target to bindgen --- common/build-helper/meson.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh index adb092e4a8e..6232f9260c2 100644 --- a/common/build-helper/meson.sh +++ b/common/build-helper/meson.sh @@ -74,6 +74,7 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF [properties] needs_exe_wrapper = true + bindgen_clang_arguments = ['-target', '${XBPS_CROSS_TRIPLET}'] [host_machine] system = 'linux'