gst1-libav: Fix builds on x86_64 (CPU_TYPE is blank)
authorTed Hess <thess@kitschensync.net>
Fri, 11 Nov 2016 18:55:23 +0000 (13:55 -0500)
committerTed Hess <thess@kitschensync.net>
Fri, 11 Nov 2016 18:55:23 +0000 (13:55 -0500)
Signed-off-by: Ted Hess <thess@kitschensync.net>
multimedia/gst1-libav/Makefile

index 6017310e246ccad59202862b68f86745906c2ff7..bed00ac34b3eadf0c02aa3b1f8e93c03e6d57f70 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gst1-libav
 PKG_VERSION:=1.8.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> \
                Ted Hess <thess@kitschensync.net>
@@ -146,7 +146,8 @@ LIBAV_CONFIGURE_PROTOCOLS:=$(call FILTER_CONFIG,PROTOCOL,protocol,$(LIBAV_PROTOC
 
 CONFIGURE_ARGS += \
        --without-system-libav \
-       --with-libav-extra-configure="--target-os=linux --cpu=$(CONFIG_CPU_TYPE) \
+       --with-libav-extra-configure="--target-os=linux \
+       $(if $(findstring " ",$(CONFIG_CPU_TYPE)),,--cpu=$(CONFIG_CPU_TYPE)) \
        --disable-bsfs \
        --disable-programs \
        --disable-devices \