Unpack should honor the target arch for patches and not alter it.

This commit is contained in:
fewtarius 2023-11-09 15:00:07 +00:00
parent 1f29f8e3ad
commit c8875a2e18
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

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=""