From: Rosen Penev Date: Mon, 22 Apr 2019 19:53:22 +0000 (-0700) Subject: gst1-libav: Add a hack to get it to build on mips64 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=016fbd0830cb98a21d2769103fa1d0520ffc818f;p=openwrt-packages.git 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 --- diff --git a/multimedia/gst1-libav/Makefile b/multimedia/gst1-libav/Makefile index b10d050ec..24cd0ac5c 100644 --- a/multimedia/gst1-libav/Makefile +++ b/multimedia/gst1-libav/Makefile @@ -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 \