[packages/tbb] - force linux32 personality on x32 to avoid tbb shooting itself in the foot by redefining size_t t
baggins
baggins at pld-linux.org
Sun Jun 28 15:03:09 CEST 2015
commit 69117eacf60152d2216bc3fdf8d56df7e65264a0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jun 28 15:02:18 2015 +0200
- force linux32 personality on x32 to avoid tbb shooting itself in the
foot by redefining size_t to long long
- rel 3
tbb.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/tbb.spec b/tbb.spec
index 398323d..52a3ed6 100644
--- a/tbb.spec
+++ b/tbb.spec
@@ -6,7 +6,7 @@ Summary: The Threading Building Blocks library abstracts low-level threading det
Summary(pl.UTF-8): Threading Building Blocks - biblioteka abstrahująca niskopoziomowe szczegóły obsługi wątków
Name: tbb
Version: %{major}.%{minor}.%{micro}
-Release: 2
+Release: 3
License: GPL v2 with runtime exception
Group: Development/Tools
# Source0Download: https://www.threadingbuildingblocks.org/download
@@ -98,6 +98,9 @@ cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
cp -p %{SOURCE5} %{SOURCE6} %{SOURCE7} .
%build
+%ifarch x32
+setarch linux32 \
+%endif
%{__make} \
CPLUS="%{__cxx}" \
CXXFLAGS="%{rpmcxxflags}" \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tbb.git/commitdiff/69117eacf60152d2216bc3fdf8d56df7e65264a0
More information about the pld-cvs-commit
mailing list