[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#674762: CPU-specific optimizations are only enabled on Linux



Package: fftw
Version: 2.1.5-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:35:22 +0000
+++ debian/rules	2012-05-27 12:35:45 +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)
 


Reply to: