Files
buildroot/package/libtheora/libtheora.mk
Bernd Kuhls 0268d7deec package/libtheora: fix build on arm big-endian
Buildroot commit 5e769b87ec bumped
libtheora to version 1.2.0 and forgot to disable asm on arm big-endian
as well.

Fixes:
https://autobuild.buildroot.net/results/8af/8af9ce8c03b00da2dcf29bc1c6f4afef9a002a58/

arm/armint.h:24:5: error: #error "Big-endian configurations are not
 supported by the ARM asm. " "Reconfigure with --disable-asm or undefine
 OC_ARM_ASM."

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-26 00:06:23 +02:00

32 lines
867 B
Makefile

################################################################################
#
# libtheora
#
################################################################################
LIBTHEORA_VERSION = 1.2.0
LIBTHEORA_SOURCE = libtheora-$(LIBTHEORA_VERSION).tar.xz
LIBTHEORA_SITE = http://downloads.xiph.org/releases/theora
LIBTHEORA_INSTALL_STAGING = YES
# We're patching Makefile.am
LIBTHEORA_AUTORECONF = YES
LIBTHEORA_LICENSE = BSD-3-Clause
LIBTHEORA_LICENSE_FILES = COPYING LICENSE
LIBTHEORA_CONF_OPTS = \
--disable-oggtest \
--disable-vorbistest \
--disable-sdltest \
--disable-examples \
--disable-spec
# assembly code on arm is broken:
# https://gitlab.xiph.org/xiph/theora/-/merge_requests/53
ifeq ($(BR2_arm)$(BR2_armeb),y)
LIBTHEORA_CONF_OPTS += --disable-asm
endif
LIBTHEORA_DEPENDENCIES = libogg libvorbis host-pkgconf
$(eval $(autotools-package))