From 059edf190897333781d74ec02b1faba6a67c2148 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Thu, 11 Jun 2026 10:21:08 +0100 Subject: [PATCH] guix: Fix "Ignoring empty string" CMake warning for non-Linux hosts Using shell parameter expansion ensures that on non-Linux hosts the build script won't pass an empty string argument to CMake. This resolves the "Ignoring empty string" warning. --- contrib/guix/libexec/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh index 0bc3888ac0a..0ec058b8de3 100755 --- a/contrib/guix/libexec/build.sh +++ b/contrib/guix/libexec/build.sh @@ -166,7 +166,7 @@ mkdir -p "$DISTSRC" -DWITH_CCACHE=OFF \ -Werror=dev \ ${CONFIGFLAGS} \ - "${CMAKE_EXE_LINKER_FLAGS}" + ${CMAKE_EXE_LINKER_FLAGS+"$CMAKE_EXE_LINKER_FLAGS"} # Build Bitcoin Core cmake --build build -j "$JOBS"