From cf98f2a5e732ac79f7b746439e8aab137fb6be82 Mon Sep 17 00:00:00 2001 From: Seungmin Kim <8457324+ehfd@users.noreply.github.com> Date: Thu, 12 Sep 2024 23:47:45 +0900 Subject: [PATCH] Minor edit --- recipes/xorg-libxshmfence/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/xorg-libxshmfence/build.sh b/recipes/xorg-libxshmfence/build.sh index 0ff8735bf9fc4..0d062dbd5e5f7 100644 --- a/recipes/xorg-libxshmfence/build.sh +++ b/recipes/xorg-libxshmfence/build.sh @@ -56,6 +56,11 @@ configure_args=( --disable-silent-rules ) +if [[ "${CONDA_BUILD_CROSS_COMPILATION}" == "1" ]] ; then + configure_args+=( + --enable-malloc0returnsnull + ) +fi ./configure "${configure_args[@]}" make -j$CPU_COUNT make install