mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
libx264: fix build on soft-float targets
--disable-asm isn't enough to disable building assembly code on ARM. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -38,15 +38,17 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user