SHA256
6
0
forked from pool/tbb
Ismail Dönmez 2016-05-04 12:14:02 +00:00 committed by Git OBS Bridge
parent b1d29e2770
commit c27da08052
2 changed files with 7 additions and 9 deletions

View File

@ -1,6 +1,8 @@
--- build/linux.gcc.inc.orig 2013-01-28 15:21:41.000000000 +0200 Index: tbb44_20160128oss/build/linux.gcc.inc
+++ build/linux.gcc.inc 2013-02-17 19:53:25.181267317 +0200 ===================================================================
@@ -59,10 +59,10 @@ --- tbb44_20160128oss.orig/build/linux.gcc.inc
+++ tbb44_20160128oss/build/linux.gcc.inc
@@ -54,7 +54,7 @@ ifneq (,$(shell gcc -dumpversion | egrep
endif endif
ifeq ($(cfg), release) ifeq ($(cfg), release)
@ -8,8 +10,4 @@
+ CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 $(OPTFLAGS) -DUSE_PTHREAD + CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 $(OPTFLAGS) -DUSE_PTHREAD
endif endif
ifeq ($(cfg), debug) ifeq ($(cfg), debug)
- CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD 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))

View File

@ -85,7 +85,7 @@ This package contains the header files needed for development with tbb.
%prep %prep
%setup -q -n %{name}%{version}oss %setup -q -n %{name}%{version}oss
%patch1 %patch1 -p1
%build %build
make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj