gst1-libav: Supply CPU type to libav configure after stipping FPU notation
authorTed Hess <thess@kitschensync.net>
Sun, 3 Dec 2017 21:31:06 +0000 (16:31 -0500)
committerTed Hess <thess@kitschensync.net>
Sun, 3 Dec 2017 21:31:06 +0000 (16:31 -0500)
Signed-off-by: Ted Hess <thess@kitschensync.net>
multimedia/gst1-libav/Makefile

index 3fc109ade27ee37abc80b364ca889cf322074efe..b0b00df00ca45aae7380be8540e3aac17aefedd6 100644 (file)
@@ -144,9 +144,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)))
+
 CONFIGURE_ARGS += \
        --without-system-libav \
        --with-libav-extra-configure=" \
+       $(if $(REAL_CPU_TYPE),--cpu=$(call qstrip,$(REAL_CPU_TYPE)),) \
        --disable-bsfs \
        --disable-programs \
        --disable-devices \