[PATCH 8/9] Only build executables and documentation in the shared flavour.
Jon Severinsson
jon at severinsson.net
Fri Sep 6 14:41:04 UTC 2013
---
debian/confflags | 12 ++++++++++++
1 fil ändrad, 12 tillägg(+)
diff --git a/debian/confflags b/debian/confflags
index fa0fae8b..944dc22c 100644
--- a/debian/confflags
+++ b/debian/confflags
@@ -154,6 +154,8 @@ endif
# Configuration flags for the static libraries
static_build_confflags += $(confflags)
+static_build_confflags += --disable-programs
+static_build_confflags += --disable-doc
# Configuration flags for the non-optimized shared libraries
shared_build_confflags += $(confflags) --shlibdir=/usr/lib/$(DEB_HOST_MULTIARCH)
@@ -172,6 +174,8 @@ vfp_build_confflags += --shlibdir=/usr/lib/$(DEB_HOST_MULTIARCH)/$(vfp_shlibdir)
vfp_build_confflags += --enable-shared
vfp_build_confflags += --disable-static
vfp_build_confflags += --extra-cflags="-mfpu=vfp $(float_abi)"
+vfp_build_confflags += --disable-programs
+vfp_build_confflags += --disable-doc
# NB: NEON always implies v7+ and Libav's NEON implementation requires VFP
neon_shlibdir := neon/vfp
neon_build_confflags += $(confflags)
@@ -185,6 +189,8 @@ endif
neon_build_confflags += --extra-cflags="-mfpu=neon $(float_abi) -fPIC -DPIC"
neon_build_confflags += --enable-shared
neon_build_confflags += --disable-static
+neon_build_confflags += --disable-programs
+neon_build_confflags += --disable-doc
## i386 architecture specific
# Configuration flags for the optimized shared libraries
@@ -195,6 +201,8 @@ cmov_build_confflags += --shlibdir=/usr/lib/$(DEB_HOST_MULTIARCH)/$(cmov_shlibdi
cmov_build_confflags += --cpu='i686'
cmov_build_confflags += --enable-shared
cmov_build_confflags += --disable-static
+cmov_build_confflags += --disable-programs
+cmov_build_confflags += --disable-doc
## powerpc architecture specific
# Configuration flags for the optimized shared libraries
@@ -205,6 +213,8 @@ altivec_build_confflags += --cpu='g4'
altivec_build_confflags += --enable-shared
altivec_build_confflags += --disable-static
altivec_build_confflags += --enable-altivec
+altivec_build_confflags += --disable-programs
+altivec_build_confflags += --disable-doc
## sparc architecture specific
# Configuration flags for the optimized shared libraries
@@ -215,3 +225,5 @@ vis_build_confflags += --cpu='sparc64'
vis_build_confflags += --enable-shared
vis_build_confflags += --disable-static
vis_build_confflags += --extra-cflags="-fPIC -DPIC"
+vis_build_confflags += --disable-programs
+vis_build_confflags += --disable-doc
--
1.7.10.4
More information about the pkg-multimedia-maintainers
mailing list