diff --git a/libs/libtheora/Makefile b/libs/libtheora/Makefile index 19ed1e8f3c..58404b9ef1 100644 --- a/libs/libtheora/Makefile +++ b/libs/libtheora/Makefile @@ -42,14 +42,15 @@ features supported by the decoder to improve over what is is possible with VP3. endef -define Build/Configure - $(call Build/Configure/Default, \ - --disable-examples \ - --disable-oggtest \ - --disable-vorbistest \ - --disable-sdltest \ - ) -endef +CONFIGURE_ARGS += \ + --disable-examples \ + --disable-oggtest \ + --disable-vorbistest \ + --disable-sdltest + +ifneq ($(findstring armeb,$(CONFIG_ARCH)),) +CONFIGURE_ARGS += --disable-asm +endif define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/theora/