gst1-libav: Add a hack to get it to build on mips64

octeonplus is being passed to gcc, which is incorrect and causes build
failure. This works around it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-04-22 12:53:22 -07:00
parent 1246339e04
commit 016fbd0830
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 7 additions and 2 deletions

View File

@ -142,8 +142,13 @@ LIBAV_CONFIGURE_DEMUXERS:=$(call FILTER_CONFIG,DEMUXER,demuxer,$(LIBAV_DEMUXERS)
LIBAV_CONFIGURE_PARSERS:=$(call FILTER_CONFIG,PARSER,parser,$(LIBAV_PARSERS))
LIBAV_CONFIGURE_PROTOCOLS:=$(call FILTER_CONFIG,PROTOCOL,protocol,$(LIBAV_PROTOCOLS))
# Strip off FPU notation
REAL_CPU_TYPE:=$(firstword $(subst +, ,$(CONFIG_CPU_TYPE)))
#hack to build on mips64
ifeq ($(CONFIG_CPU_TYPE),octeonplus)
REAL_CPU_TYPE:=octeon+
else
# Strip off FPU notation
REAL_CPU_TYPE:=$(firstword $(subst +, ,$(CONFIG_CPU_TYPE)))
endif
CONFIGURE_ARGS += \
--disable-Bsymbolic \