Merge pull request #3210 from dangowrt/fix-x264-build

libx264: Fix x264 build (asm)
This commit is contained in:
Ted Hess 2016-09-24 14:22:51 -04:00 committed by GitHub
commit 4da62bfbcf
1 changed files with 7 additions and 5 deletions

View File

@ -38,20 +38,22 @@ else
endif
endif
ifneq ($(CONFIG_SOFT_FLOAT),)
CONFIGURE_VARS+= AS=
MAKE_FLAGS+= AS=
CONFIGURE_ARGS += --disable-asm
endif
CONFIGURE_ARGS += \
--enable-shared \
--enable-pic \
--disable-cli
ifeq ($(CONFIG_SOFT_FLOAT),y)
CONFIGURE_ARGS += --disable-asm
endif
define Package/libx264
SECTION:=libs
CATEGORY:=Libraries
TITLE:=H264/AVC free codec library.
DEPENDS:=@BUILD_PATENTED
DEPENDS:=@BUILD_PATENTED @!powerpc||BROKEN
URL:=http://www.videolan.org/developers/x264.html
endef