From e2d668cec14efb24c35c3c125370cc8dfc8d041f Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 6 Jun 2013 20:18:15 +0200 Subject: [PATCH] Add comments to patches --- tbb.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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)