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
|
||||
"0303-ignore-new-bfd-options.patch"
|
||||
# 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"
|
||||
)
|
||||
sha256sums=('96f833c6ad99a3e8e1d9aca5f439b8fd2c7efdcf83b664e0af1c0712c5315910'
|
||||
@ -115,14 +115,6 @@ apply_patch_with_msg() {
|
||||
done
|
||||
}
|
||||
|
||||
apply_git_patch_with_msg() {
|
||||
for _patch in "$@"
|
||||
do
|
||||
msg2 "Applying ${_patch}"
|
||||
patch -Nbp1 -i "${srcdir}/${_patch}"
|
||||
done
|
||||
}
|
||||
|
||||
revert_patch_with_msg() {
|
||||
for _patch in "$@"
|
||||
do
|
||||
@ -176,8 +168,8 @@ prepare() {
|
||||
# Patch whole tree
|
||||
cd "${srcdir}"
|
||||
|
||||
apply_git_patch_with_msg \
|
||||
"0901-wholearchive-import-libs.patch"
|
||||
apply_patch_with_msg \
|
||||
"0901-wholearchive-import-libs.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user