@@ -4,9 +4,9 @@ PKG := llvm-mingw
44$(PKG)_WEBSITE := https://github.com/mstorsjo/llvm-mingw
55$(PKG)_DESCR := An LLVM/Clang/LLD based mingw-w64 toolchain
66$(PKG)_IGNORE :=
7- # https://github.com/mstorsjo/llvm-mingw/tarball/83d84ab79b42b267948f7fbbbd99065ec781fb5f
8- $(PKG)_VERSION := 83d84ab
9- $(PKG)_CHECKSUM := 7519fa5271a07ea3a617ca36c098fe6fd11453b48706dbdc9236fd1ffd152ef3
7+ # https://github.com/mstorsjo/llvm-mingw/tarball/eac1db1c0ddbd0ec61601284048e9ade92a26542
8+ $(PKG)_VERSION := eac1db1
9+ $(PKG)_CHECKSUM := bdcf863f270dddc28c5ca3cccbb05a3b668ca81c645bc8ce1665ed8be86417c1
1010# TODO(kleisauke): Remove this if we omit any dots from our target
1111$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/llvm-mingw-[0-9]* .patch) ) )
1212$(PKG)_GH_CONF := mstorsjo/llvm-mingw/branches/master
@@ -59,7 +59,7 @@ define $(PKG)_PRE_BUILD
5959 # Can't symlink here, it will break the basename detection of LLVM. See:
6060 # sys::path::stem("x86_64-w64-mingw32.shared-ranlib"); -> x86_64-w64-mingw32
6161 # TODO(kleisauke): Remove this if we omit any dots from our target, see:
62- # https://github.com/llvm/llvm-project/blob/llvmorg-14.0.4 /llvm/tools/llvm-ar/llvm-ar.cpp#L1285-L1304
62+ # https://github.com/llvm/llvm-project/blob/llvmorg-14.0.5 /llvm/tools/llvm-ar/llvm-ar.cpp#L1285-L1304
6363 $(foreach EXEC, addr2line ar cvtres nm objcopy ranlib rc strings strip, \
6464 (echo '#!/bin/sh'; \
6565 echo 'exec "$(PREFIX ) /$(BUILD ) /bin/llvm-$(EXEC ) " "$$@ "') \
@@ -68,7 +68,7 @@ define $(PKG)_PRE_BUILD
6868
6969 # We need to pass some additional arguments for windres
7070 # TODO(kleisauke): Remove this if we omit any dots from our target, see:
71- # https://github.com/llvm/llvm-project/blob/llvmorg-14.0.4 /llvm/tools/llvm-rc/llvm-rc.cpp#L266-L277
71+ # https://github.com/llvm/llvm-project/blob/llvmorg-14.0.5 /llvm/tools/llvm-rc/llvm-rc.cpp#L266-L277
7272 (echo '# !/bin/sh'; \
7373 echo 'exec "$(PREFIX)/$(BUILD)/bin/llvm-windres" \
7474 --preprocessor-arg="--sysroot=$(PREFIX)/$(TARGET)" \
@@ -82,7 +82,7 @@ define $(PKG)_PRE_BUILD
8282 # armv7 -> arm
8383 # aarch64 -> arm64
8484 # TODO(kleisauke): Remove this if we omit any dots from our target, see:
85- # https://github.com/llvm/llvm-project/blob/llvmorg-14.0.4 /llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp#L97-L108
85+ # https://github.com/llvm/llvm-project/blob/llvmorg-14.0.5 /llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp#L97-L108
8686 $(eval DLLTOOL_ARCH := $(strip \
8787 $(if $(findstring i686,$(PROCESSOR ) ) ,i386, \
8888 $(if $(findstring x86_64,$(PROCESSOR ) ) ,i386:x86-64, \
@@ -100,7 +100,7 @@ define $(PKG)_PRE_BUILD
100100 -e 's|^DIR=.* |DIR="$(PREFIX ) /$(TARGET ) /bin"|' '$(SOURCE_DIR ) /wrappers/$(EXEC ) -wrapper.sh'; \
101101 $(INSTALL ) -m755 '$(SOURCE_DIR ) /wrappers/$(EXEC ) -wrapper.sh' '$(PREFIX ) /$(TARGET ) /bin';)
102102
103- $(foreach EXEC, clang clang++ gcc g++ cc c99 c11 c++, \
103+ $(foreach EXEC, clang clang++ gcc g++ c++, \
104104 ln -sf '$(PREFIX ) /$(TARGET ) /bin/clang-target-wrapper.sh' '$(PREFIX ) /bin/$(TARGET ) -$(EXEC ) ';)
105105
106106 $(foreach EXEC, ld objdump, \
0 commit comments