32bit bug fixes.

This commit is contained in:
fewtarius 2023-03-04 11:20:58 -05:00
parent d7462f186a
commit 15eea73b5b
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
4 changed files with 10 additions and 11 deletions

View file

@ -28,9 +28,9 @@ else
PKG_CMAKE_OPTS_TARGET+=" -DWITH_SIMD=OFF"
fi
if [ ${TARGET_ARCH} = "x86_64" ]; then
if [[ ${TARGET_ARCH} =~ i*86|x86_64 ]]; then
PKG_DEPENDS_HOST+=" nasm:host"
PKG_DEPENDS_TARGET+=" nasm:host"
PKG_DEPENDS_TARGET+=" nasm"
fi
post_makeinstall_target() {

View file

@ -14,10 +14,9 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_TOOLCHAIN="make"
PKG_BASEOS="plymouth-lite grep wget libjpeg-turbo util-linux xmlstarlet bluetool gnupg gzip patchelf \
imagemagick terminus-font vim bash pyudev dialog six git dbus-python coreutils miniupnpc \
nss-mdns avahi alsa-ucm-conf fbgrab modules system-utils autostart powerstate powertop \
ectool"
PKG_BASEOS="plymouth-lite grep wget util-linux xmlstarlet bluetool gnupg gzip patchelf imagemagick \
terminus-font vim bash pyudev dialog six git dbus-python coreutils miniupnpc nss-mdns \
avahi alsa-ucm-conf fbgrab modules system-utils autostart powerstate powertop ectool"
PKG_UI="emulationstation es-themes"

View file

@ -55,7 +55,7 @@ pre_configure_host() {
"aarch64")
LLVM_BUILD_TARGETS="X86;AArch64"
;;
"x86_64")
i*86|x86_64)
LLVM_BUILD_TARGETS="AMDGPU;X86"
;;
esac
@ -82,13 +82,13 @@ post_makeinstall_host() {
pre_configure_target() {
case "${TARGET_ARCH}" in
"arm")
arm)
LLVM_BUILD_TARGETS="X86;ARM"
;;
"aarch64")
aarch64)
LLVM_BUILD_TARGETS="X86;AArch64"
;;
"x86_64")
i*86|x86_64)
LLVM_BUILD_TARGETS="AMDGPU;X86"
;;
esac

View file

@ -5,7 +5,7 @@
PKG_NAME="nasm"
PKG_VERSION="2.15.05"
PKG_SHA256="3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f"
PKG_ARCH="x86_64"
PKG_ARCH="x86_64 i686"
PKG_LICENSE="BSD"
PKG_SITE="https://www.nasm.us/"
PKG_URL="http://www.nasm.us/pub/nasm/releasebuilds/${PKG_VERSION}/nasm-${PKG_VERSION}.tar.xz"