@@ -4,9 +4,9 @@ PKG := llvm-mingw
4
4
$(PKG)_WEBSITE := https://github.com/mstorsjo/llvm-mingw
5
5
$(PKG)_DESCR := An LLVM/Clang/LLD based mingw-w64 toolchain
6
6
$(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
10
10
# TODO(kleisauke): Remove this if we omit any dots from our target
11
11
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/llvm-mingw-[0-9]* .patch) ) )
12
12
$(PKG)_GH_CONF := mstorsjo/llvm-mingw/branches/master
@@ -59,7 +59,7 @@ define $(PKG)_PRE_BUILD
59
59
# Can't symlink here, it will break the basename detection of LLVM. See:
60
60
# sys::path::stem("x86_64-w64-mingw32.shared-ranlib"); -> x86_64-w64-mingw32
61
61
# 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
63
63
$(foreach EXEC, addr2line ar cvtres nm objcopy ranlib rc strings strip, \
64
64
(echo '#!/bin/sh'; \
65
65
echo 'exec "$(PREFIX ) /$(BUILD ) /bin/llvm-$(EXEC ) " "$$@ "') \
@@ -68,7 +68,7 @@ define $(PKG)_PRE_BUILD
68
68
69
69
# We need to pass some additional arguments for windres
70
70
# 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
72
72
(echo '# !/bin/sh'; \
73
73
echo 'exec "$(PREFIX)/$(BUILD)/bin/llvm-windres" \
74
74
--preprocessor-arg="--sysroot=$(PREFIX)/$(TARGET)" \
@@ -82,7 +82,7 @@ define $(PKG)_PRE_BUILD
82
82
# armv7 -> arm
83
83
# aarch64 -> arm64
84
84
# 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
86
86
$(eval DLLTOOL_ARCH := $(strip \
87
87
$(if $(findstring i686,$(PROCESSOR ) ) ,i386, \
88
88
$(if $(findstring x86_64,$(PROCESSOR ) ) ,i386:x86-64, \
@@ -100,7 +100,7 @@ define $(PKG)_PRE_BUILD
100
100
-e 's|^DIR=.* |DIR="$(PREFIX ) /$(TARGET ) /bin"|' '$(SOURCE_DIR ) /wrappers/$(EXEC ) -wrapper.sh'; \
101
101
$(INSTALL ) -m755 '$(SOURCE_DIR ) /wrappers/$(EXEC ) -wrapper.sh' '$(PREFIX ) /$(TARGET ) /bin';)
102
102
103
- $(foreach EXEC, clang clang++ gcc g++ cc c99 c11 c++, \
103
+ $(foreach EXEC, clang clang++ gcc g++ c++, \
104
104
ln -sf '$(PREFIX ) /$(TARGET ) /bin/clang-target-wrapper.sh' '$(PREFIX ) /bin/$(TARGET ) -$(EXEC ) ';)
105
105
106
106
$(foreach EXEC, ld objdump, \
0 commit comments