[SCM] audacity/master: Fix FTBFS on non-x86 archs - really.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Fri Nov 24 17:26:10 UTC 2017
The following commit has been merged in the master branch:
commit fe60c31747e2aa37fe4ab0d415ab8a0c497a8777
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Fri Nov 24 18:23:21 2017 +0100
Fix FTBFS on non-x86 archs - really.
diff --git a/debian/rules b/debian/rules
index 6970493..cca5c27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
@@ -18,12 +20,19 @@ configure_flags := \
--with-libvamp=system \
--with-libvorbis=system \
--with-lv2=system \
- --with-midi=system \
- --with-portaudio=system \
- --with-portsmf=system \
- --with-soundtouch=system \
- --without-sbsms \
- $(NULL)
+ --with-midi=system \
+ --with-portaudio=system \
+ --with-portsmf=system \
+ --with-sbsms=local \
+ --with-soundtouch=system \
+ $(NULL)
+
+ifeq ($(DEB_HOST_ARCH_CPU),amd64)
+ configure_flags += --enable-sse=yes
+else
+ configure_flags += --enable-sse=no
+endif
+
%:
dh $@
--
Audacity debian packaging
More information about the pkg-multimedia-commits
mailing list