From c27da08052408e879d0c3c295dd699ec1699118f1f2379d9ec19c1488d1f94f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 4 May 2016 12:14:02 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=11 --- optflags.patch | 14 ++++++-------- tbb.spec | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/optflags.patch b/optflags.patch index f5f5845..8d33ebf 100644 --- a/optflags.patch +++ b/optflags.patch @@ -1,6 +1,8 @@ ---- build/linux.gcc.inc.orig 2013-01-28 15:21:41.000000000 +0200 -+++ build/linux.gcc.inc 2013-02-17 19:53:25.181267317 +0200 -@@ -59,10 +59,10 @@ +Index: tbb44_20160128oss/build/linux.gcc.inc +=================================================================== +--- tbb44_20160128oss.orig/build/linux.gcc.inc ++++ tbb44_20160128oss/build/linux.gcc.inc +@@ -54,7 +54,7 @@ ifneq (,$(shell gcc -dumpversion | egrep endif ifeq ($(cfg), release) @@ -8,8 +10,4 @@ + CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 $(OPTFLAGS) -DUSE_PTHREAD endif ifeq ($(cfg), debug) -- CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD -+ CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 $(OPTFLAGS) -DUSE_PTHREAD - endif - - ifneq (00,$(lambdas)$(cpp0x)) + CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD diff --git a/tbb.spec b/tbb.spec index b097e55..e5e3055 100644 --- a/tbb.spec +++ b/tbb.spec @@ -85,7 +85,7 @@ This package contains the header files needed for development with tbb. %prep %setup -q -n %{name}%{version}oss -%patch1 +%patch1 -p1 %build make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj