[Pkg-voip-commits] [twinkle] 02/02: Use DEB_HOST_ARCH_OS to detect Linux architectures
Peter Colberg
pc-guest at moszumanska.debian.org
Wed Jan 13 03:45:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
pc-guest pushed a commit to branch master
in repository twinkle.
commit 3127838830357e668f911f15c94708711f82d069
Author: Peter Colberg <peter at colberg.org>
Date: Tue Jan 12 08:14:09 2016 -0500
Use DEB_HOST_ARCH_OS to detect Linux architectures
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 422231b..a1bb9a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ include /usr/share/dpkg/architecture.mk
CONFIGURE_FLAGS = -DWITH_QT5=ON -DWITH_ZRTP=OFF -DWITH_SPEEX=ON -DWITH_GSM=ON
# Enable ALSA support on Linux only
-ifeq (,$(filter $(DEB_HOST_ARCH),kfreebsd-amd64 kfreebsd-i386 hurd-i386))
+ifeq ($(DEB_HOST_ARCH_OS),linux)
CONFIGURE_FLAGS += -DWITH_ALSA=ON
else
CONFIGURE_FLAGS += -DWITH_ALSA=OFF
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/twinkle.git
More information about the Pkg-voip-commits
mailing list