- Update to version tbb30_20110704
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
c7be8d3d1e
commit
5054611b24
@@ -1,19 +1,19 @@
|
||||
--- build/linux.gcc.inc
|
||||
--- build/linux.gcc.inc.orig
|
||||
+++ build/linux.gcc.inc
|
||||
@@ -37,6 +37,7 @@
|
||||
RML_WARNING_SUPPRESS = -Wno-non-virtual-dtor
|
||||
@@ -39,6 +39,7 @@ WARNING_SUPPRESS = -Wno-parentheses -Wno
|
||||
DYLIB_KEY = -shared
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
LIBDL = -ldl
|
||||
+OPTFLAGS = -O2
|
||||
|
||||
TBB_NOSTRICT = 1
|
||||
|
||||
@@ -47,7 +48,7 @@
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
@@ -51,7 +52,7 @@ C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
ifeq ($(cfg), release)
|
||||
- CPLUS_FLAGS = -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = -DDO_ITT_NOTIFY $(OPTFLAGS) -DUSE_PTHREAD
|
||||
- CPLUS_FLAGS = $(ITT_NOTIFY) -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = $(ITT_NOTIFY) -O2 $(OPTFLAGS) -DUSE_PTHREAD
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG -DDO_ITT_NOTIFY -g -O0 -DUSE_PTHREAD
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
|
Reference in New Issue
Block a user