diff --git a/libs/libtheora/Makefile b/libs/libtheora/Makefile index 9f3f8f922b..96f0731afe 100644 --- a/libs/libtheora/Makefile +++ b/libs/libtheora/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libtheora PKG_VERSION:=1.2.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://downloads.xiph.org/releases/theora/ PKG_HASH:=ebdf77a8f5c0a8f7a9e42323844fa09502b34eb1d1fece7b5f54da41fe2122ec @@ -49,9 +49,12 @@ CONFIGURE_ARGS += \ --disable-vorbistest \ --disable-sdltest -ifneq ($(findstring armeb,$(CONFIG_ARCH)),) +# --disable-asm on pre-ARMv7 ARM so we don't emit assembler which cannot be executed +ifeq ($(ARCH),arm) +ifeq ($(findstring armv7,$(TARGET_CFLAGS))$(findstring armv8,$(TARGET_CFLAGS)),) CONFIGURE_ARGS += --disable-asm endif +endif define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/theora/