Merge pull request #2333 from fewtarius/dev

Unpack should honor the target arch for patches and not alter it.
This commit is contained in:
fewtarius 2023-11-09 10:00:37 -05:00 committed by GitHub
commit 9a5e47d8bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,13 +124,7 @@ if [ -d "${SOURCES}/${PKG_NAME}" -o -d "${PKG_DIR}/sources" ] || pkg_call_exists
if [ "${PKG_SKIP_PATCHES}" != "yes" ]; then
pkg_call_exists pre_patch && pkg_call pre_patch
if [ "${TARGET_ARCH}" = "x86_64" ]; then
PATCH_ARCH="x86"
else
#PATCH_ARCH="${TARGET_PATCH_ARCH:-${TARGET_ARCH}}"
PATCH_ARCH="${TARGET_ARCH}"
fi
PATCH_ARCH="${TARGET_ARCH}"
PATCH_DIRS_PKG=""
PATCH_DIRS_PRJ=""