Browse Source

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>
lilik-openwrt-22.03
Daniel Golle 8 years ago
parent
commit
ab010288da
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      libs/libx264/Makefile

+ 6
- 4
libs/libx264/Makefile View File

@ -38,15 +38,17 @@ else
endif endif
endif endif
ifneq ($(CONFIG_SOFT_FLOAT),)
CONFIGURE_VARS+= AS=
MAKE_FLAGS+= AS=
CONFIGURE_ARGS += --disable-asm
endif
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-pic \ --enable-pic \
--disable-cli --disable-cli
ifeq ($(CONFIG_SOFT_FLOAT),y)
CONFIGURE_ARGS += --disable-asm
endif
define Package/libx264 define Package/libx264
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries


Loading…
Cancel
Save