Merge pull request #23152 from mati865/push-xptupxtpkmkt
llvm: remove redundant helper
This commit is contained in:
commit
1b6ec3d0fa
@ -77,7 +77,7 @@ source=("${_url}/llvm-${pkgver}.src.tar.xz"{,.sig}
|
|||||||
# 0301-0399 -> lld
|
# 0301-0399 -> lld
|
||||||
"0303-ignore-new-bfd-options.patch"
|
"0303-ignore-new-bfd-options.patch"
|
||||||
# 0401-0499 -> clang-tools-extra
|
# 0401-0499 -> clang-tools-extra
|
||||||
# 9901-9999 -> whole tree
|
# 0901-0999 -> whole tree
|
||||||
"0901-wholearchive-import-libs.patch::https://github.com/llvm/llvm-project/commit/4a4a8a1476b1386b523dc5b292ba9a5a6748a9cf.patch"
|
"0901-wholearchive-import-libs.patch::https://github.com/llvm/llvm-project/commit/4a4a8a1476b1386b523dc5b292ba9a5a6748a9cf.patch"
|
||||||
)
|
)
|
||||||
sha256sums=('96f833c6ad99a3e8e1d9aca5f439b8fd2c7efdcf83b664e0af1c0712c5315910'
|
sha256sums=('96f833c6ad99a3e8e1d9aca5f439b8fd2c7efdcf83b664e0af1c0712c5315910'
|
||||||
@ -115,14 +115,6 @@ apply_patch_with_msg() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_git_patch_with_msg() {
|
|
||||||
for _patch in "$@"
|
|
||||||
do
|
|
||||||
msg2 "Applying ${_patch}"
|
|
||||||
patch -Nbp1 -i "${srcdir}/${_patch}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
revert_patch_with_msg() {
|
revert_patch_with_msg() {
|
||||||
for _patch in "$@"
|
for _patch in "$@"
|
||||||
do
|
do
|
||||||
@ -176,8 +168,8 @@ prepare() {
|
|||||||
# Patch whole tree
|
# Patch whole tree
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
|
|
||||||
apply_git_patch_with_msg \
|
apply_patch_with_msg \
|
||||||
"0901-wholearchive-import-libs.patch"
|
"0901-wholearchive-import-libs.patch"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user