mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-07-05 11:40:07 +02:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user