mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
libtheora: use CONFIGURE_ARGS, fix build on armeb
Use CONFIGURE_ARGS instead of defining a custom Build/Configure target.
Set --disable-asm on armeb to fix build error:
CC apiwrapper.lo
In file included from state.h:56,
from apiwrapper.h:24,
from apiwrapper.c:21:
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."
24 | # error "Big-endian configurations are not supported by the ARM asm. " \
| ^~~~~
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -42,14 +42,15 @@ features supported by the decoder to improve over what is
|
|||||||
is possible with VP3.
|
is possible with VP3.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
CONFIGURE_ARGS += \
|
||||||
$(call Build/Configure/Default, \
|
|
||||||
--disable-examples \
|
--disable-examples \
|
||||||
--disable-oggtest \
|
--disable-oggtest \
|
||||||
--disable-vorbistest \
|
--disable-vorbistest \
|
||||||
--disable-sdltest \
|
--disable-sdltest
|
||||||
)
|
|
||||||
endef
|
ifneq ($(findstring armeb,$(CONFIG_ARCH)),)
|
||||||
|
CONFIGURE_ARGS += --disable-asm
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/theora/
|
$(INSTALL_DIR) $(1)/usr/include/theora/
|
||||||
|
|||||||
Reference in New Issue
Block a user