diff --git a/tbb.spec b/tbb.spec index 1fa25cd..4c57ad8 100644 --- a/tbb.spec +++ b/tbb.spec @@ -96,6 +96,7 @@ sed -i '/^#!/d' python/tbb/{pool,test}.py %build make %{?_smp_mflags} tbb_build_prefix=obj stdver=c++14 \ + compiler=%{__cc} \ CXXFLAGS="%{optflags} -DDO_ITT_NOTIFY -DUSE_PTHREAD" \ LDFLAGS="$RPM_LD_FLAGS -lpthread" for file in %{SOURCE6} %{SOURCE7} %{SOURCE8}; do @@ -108,6 +109,7 @@ done . build/obj_release/tbbvars.sh pushd python make %{?_smp_mflags} -C rml stdver=c++14 \ + compiler=%{__cc} \ CPLUS_FLAGS="%{optflags} -DDO_ITT_NOTIFY -DUSE_PTHREAD" \ LDFLAGS="$RPM_LD_FLAGS -lpthread" cp -p rml/libirml.so* .