aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dist/msys2-mingw/llvm/PKGBUILD2
-rw-r--r--src/ortho/llvm4-nodebug/Makefile2
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)