r44448 - /packages/opencv/trunk/debian/rules

iwamatsu at users.alioth.debian.org iwamatsu at users.alioth.debian.org
Wed Feb 1 18:03:17 UTC 2012


Author: iwamatsu
Date: Wed Feb  1 18:03:16 2012
New Revision: 44448

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44448
Log:
Change from check of architecture to check of CPU.


Modified:
    packages/opencv/trunk/debian/rules

Modified: packages/opencv/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/opencv/trunk/debian/rules?rev=44448&op=diff
==============================================================================
--- packages/opencv/trunk/debian/rules (original)
+++ packages/opencv/trunk/debian/rules Wed Feb  1 18:03:16 2012
@@ -4,7 +4,7 @@
 CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 
-DEB_HOST_ARCH  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
 
 # These don't need to be exported and if they are we'll get the flags
 # duplicated in the command line.
@@ -12,7 +12,7 @@
 unexport CXXFLAGS
 unexport LDFLAGS
 
-ifeq ($(DEB_HOST_ARCH),amd64)
+ifeq ($(DEB_BUILD_ARCH_CPU),amd64)
 CMAKE_ARCH_FLAGS = -DENABLE_SSE=ON -DENABLE_SSE2=ON -DENABLE_SSSE3=OFF
 else
 CMAKE_ARCH_FLAGS = -DENABLE_SSE=OFF -DENABLE_SSE2=OFF -DENABLE_SSSE3=OFF




More information about the debian-science-commits mailing list