[tbb] 05/08: Adjust armel logic to build for armv4t

Steven Capper capper-guest at moszumanska.debian.org
Thu Jul 27 20:04:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

capper-guest pushed a commit to branch steve-staging
in repository tbb.

commit ed1016d83457e1995f8a27e63dcff640cfb346bd
Author: Steve Capper <steven.capper at gmail.com>
Date:   Thu Jul 27 20:51:28 2017 +0100

    Adjust armel logic to build for armv4t
---
 debian/patches/fix-armel.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/debian/patches/fix-armel.patch b/debian/patches/fix-armel.patch
index 7c551c9..259e233 100644
--- a/debian/patches/fix-armel.patch
+++ b/debian/patches/fix-armel.patch
@@ -14,3 +14,21 @@ Index: tbb/src/tbbmalloc/frontend.cpp
      __asm__ __volatile__
      (
         "clz %0, %1\n"
+Index: tbb/build/linux.inc
+===================================================================
+--- tbb.orig/build/linux.inc
++++ tbb/build/linux.inc
+@@ -58,9 +58,12 @@ ifndef arch
+         ifeq ($(uname_m),sparc64)
+                 export arch:=sparc64
+         endif
+-        ifeq ($(uname_m),armv7l)
++        ifeq ($(deb_host_arch),armhf)
+                 export arch:=armv7
+         endif
++	ifeq ($(deb_host_arch),armel)
++		export arch:=armv4t
++	endif
+         ifeq ($(uname_m),ppc)
+                 export arch:=ppc32
+         endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/tbb.git



More information about the debian-science-commits mailing list