From 9b28b0b1f8036a822664a4a841ee094a50647d71 Mon Sep 17 00:00:00 2001 From: Zentrik Date: Wed, 7 Aug 2024 19:56:52 +0100 Subject: [PATCH] Add lld flag only on llvm_passes image --- utilities/build_julia.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utilities/build_julia.sh b/utilities/build_julia.sh index deac3066..e7eca187 100755 --- a/utilities/build_julia.sh +++ b/utilities/build_julia.sh @@ -25,10 +25,9 @@ MFLAGS=() if [[ "${ROOTFS_IMAGE_NAME-}" == "llvm_passes" ]]; then echo "--- Update CMake" contrib/download_cmake.sh + MFLAGS+=( "LDFLAGS=-Wl,--undefined-version" ) fi -MFLAGS+=( "LDFLAGS=-Wl,--undefined-version" ) - # If we have the option, let's use `--output-sync` if ${MAKE} --help | grep output-sync >/dev/null 2>/dev/null; then MFLAGS+=( "--output-sync" )