Bug#674760: CPU-specific optimizations are only enabled on Linux
Package: fftw3
Version: 3.3.2-1
Severity: normal
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
Using DEB_HOST_ARCH makes your checks implicitly Linux-only. You should
use DEB_HOST_ARCH_CPU instead.
Patch attached.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-i386 (i386)
Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/rules'
--- debian/rules 2012-05-27 12:36:23 +0000
+++ debian/rules 2012-05-27 12:36:32 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-ARCHITECTURE := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ARCHITECTURE := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
Reply to: