Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
016fbd0830
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      multimedia/gst1-libav/Makefile

+ 7
- 2
multimedia/gst1-libav/Makefile 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_PARSERS:=$(call FILTER_CONFIG,PARSER,parser,$(LIBAV_PARSERS))
LIBAV_CONFIGURE_PROTOCOLS:=$(call FILTER_CONFIG,PROTOCOL,protocol,$(LIBAV_PROTOCOLS)) 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 += \ CONFIGURE_ARGS += \
--disable-Bsymbolic \ --disable-Bsymbolic \


Loading…
Cancel
Save