gst1-libav: Remove debug and other random stuff
authorRosen Penev <rosenp@gmail.com>
Mon, 18 Mar 2019 01:41:34 +0000 (18:41 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 18 Mar 2019 03:22:06 +0000 (20:22 -0700)
Should lower filesize. I can't tell by how much as this was not building
on mvebu before.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
multimedia/gst1-libav/Makefile

index 79fb247fedd10f30ab8dca7e00913efdf9485211..b10d050ec09b5d0a8a6bf90229bf1f427b3fe8f0 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gst1-libav
 PKG_VERSION:=1.15.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> \
                Ted Hess <thess@kitschensync.net>
@@ -146,12 +146,27 @@ LIBAV_CONFIGURE_PROTOCOLS:=$(call FILTER_CONFIG,PROTOCOL,protocol,$(LIBAV_PROTOC
 REAL_CPU_TYPE:=$(firstword $(subst +, ,$(CONFIG_CPU_TYPE)))
 
 CONFIGURE_ARGS += \
+       --disable-Bsymbolic \
+       --disable-fatal-warnings \
+       --disable-glib-asserts \
+       --disable-gobject-cast-checks \
+       --disable-gtk-doc-html \
+       --disable-valgrind \
        --without-system-libav \
+       --with-pic \
        --with-libav-extra-configure=" \
        $(if $(REAL_CPU_TYPE),--cpu=$(call qstrip,$(REAL_CPU_TYPE)),) \
        --disable-bsfs \
        --disable-programs \
        --disable-devices \
+       --disable-debug \
+       --disable-doc \
+       --disable-extra-warnings \
+       --disable-htmlpages \
+       --disable-manpages \
+       --disable-podpages \
+       --disable-txtpages \
+       --disable-runtime-cpudetect \
        --disable-encoders \
        $(LIBAV_CONFIGURE_ENCODERS) \
        --disable-decoders \
@@ -182,11 +197,7 @@ CONFIGURE_ARGS += \
        --disable-fma4 \
        --disable-avx2 \
        --disable-inline-asm \
-       --disable-yasm"
-
-TARGET_CFLAGS += -D_GNU_SOURCE -Wno-format-nonliteral
-
-TARGET_LDFLAGS += $(FPIC)
+       --disable-x86asm"
 
 define Package/gst1-libav/install
        $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)