Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Makefile.ffmpeg: override --host for i686
  • Loading branch information
perexg committed Mar 26, 2016
1 parent 81e0093 commit cd9f07f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile.ffmpeg
Expand Up @@ -324,6 +324,12 @@ endif

ifeq (yes,$(CONFIG_LIBTHEORA_STATIC))

ifeq (,$(LIBTHEORA_HOST))
ifneq (,$(FFMPEG_HOST))
LIBTHEORA_HOST := --host=$(FFMPEG_HOST)
endif
endif

$(LIB_ROOT)/$(LIBTHEORA)/.tvh_download:
$(call DOWNLOAD,$(LIBTHEORA_URL),$(LIB_ROOT)/$(LIBTHEORA_TB),$(LIBTHEORA_SHA1))
$(call UNTAR,$(LIBTHEORA_TB),z)
Expand All @@ -335,7 +341,8 @@ $(LIB_ROOT)/$(LIBTHEORA)/.tvh_build: \
$(LIB_ROOT)/$(LIBTHEORA)/.tvh_download
cd $(LIB_ROOT)/$(LIBTHEORA) && $(CONFIGURE) \
--with-ogg=$(EPREFIX) \
--disable-examples
--disable-examples \
$(LIBTHEORA_HOST)
DESTDIR=$(EBUILDIR) \
$(MAKE) -C $(LIB_ROOT)/$(LIBTHEORA) install
@touch $@
Expand Down

0 comments on commit cd9f07f

Please sign in to comment.