[tbb] Add comments to patches
Petr Machata
pmachata at fedoraproject.org
Thu Jun 6 18:18:43 UTC 2013
commit e2d668cec14efb24c35c3c125370cc8dfc8d041f
Author: Petr Machata <pmachata at redhat.com>
Date: Thu Jun 6 20:18:15 2013 +0200
Add comments to patches
tbb.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tbb.spec b/tbb.spec
index 4aa9b83..7bc8d01 100644
--- a/tbb.spec
+++ b/tbb.spec
@@ -21,7 +21,13 @@ Source6: tbb.pc
Source7: tbbmalloc.pc
Source8: tbbmalloc_proxy.pc
+# Propagate CXXFLAGS variable into flags used when compiling C++.
+# This so that RPM_OPT_FLAGS are respected.
Patch1: tbb-3.0-cxxflags.patch
+
+# Replace mfence with xchg (for 32-bit builds only) so that TBB
+# compiles and works supported hardware. mfence was added with SSE2,
+# which we still don't assume.
Patch2: tbb-4.0-mfence.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
More information about the scm-commits
mailing list