From 2cf549f4997436ca8553da1e733f35623eb5c38b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 12 Jan 2020 17:34:37 +0100 Subject: msys2-mingw: build llvm with --static-link (tentatively fix ci) --- dist/msys2-mingw/llvm/PKGBUILD | 2 +- src/ortho/llvm4-nodebug/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/msys2-mingw/llvm/PKGBUILD b/dist/msys2-mingw/llvm/PKGBUILD index 0f6ebf9af..a947aa1e3 100644 --- a/dist/msys2-mingw/llvm/PKGBUILD +++ b/dist/msys2-mingw/llvm/PKGBUILD @@ -17,7 +17,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-clang" "${MINGW_PACKAGE_PREFIX}-gcc-ada") build() { mkdir "${srcdir}/builddir" cd "${srcdir}/builddir" - ../../../../../configure --prefix=${MINGW_PREFIX} --with-llvm-config LDFLAGS=-static --enable-libghdl --enable-synth + ../../../../../configure --prefix=${MINGW_PREFIX} --with-llvm-config="llvm-config --link-static" LDFLAGS="-static" --enable-libghdl --enable-synth make GNATMAKE="gnatmake -j$(nproc)" } diff --git a/src/ortho/llvm4-nodebug/Makefile b/src/ortho/llvm4-nodebug/Makefile index fc10e23de..b40bb2cc8 100644 --- a/src/ortho/llvm4-nodebug/Makefile +++ b/src/ortho/llvm4-nodebug/Makefile @@ -6,7 +6,7 @@ GNATMAKE=gnatmake SED=sed BE=llvm4-nodebug -LLVM_LDFLAGS=$(LLVM_CONFIG) --link-static --ldflags --libs --system-libs +LLVM_LDFLAGS=$(LLVM_CONFIG) --ldflags --libs --system-libs all: $(ortho_exec) -- cgit v1.2.3