Accepting request 20510 from home:msmeissn:branches:devel:libraries:c_c++
Copy from home:msmeissn:branches:devel:libraries:c_c++/tbb via accept of submit request 20510 revision 4. Request was accepted with message: added OBS-URL: https://build.opensuse.org/request/show/20510 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=1
This commit is contained in:
19
optflags.patch
Normal file
19
optflags.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- build/linux.gcc.inc
|
||||
+++ build/linux.gcc.inc
|
||||
@@ -37,6 +37,7 @@
|
||||
RML_WARNING_SUPPRESS = -Wno-non-virtual-dtor
|
||||
DYLIB_KEY = -shared
|
||||
LIBDL = -ldl
|
||||
+OPTFLAGS = -O2
|
||||
|
||||
TBB_NOSTRICT = 1
|
||||
|
||||
@@ -47,7 +48,7 @@
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
- CPLUS_FLAGS = -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD
|
||||
+ CPLUS_FLAGS = -DDO_ITT_NOTIFY $(OPTFLAGS) -DUSE_PTHREAD
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG -DDO_ITT_NOTIFY -g -O0 -DUSE_PTHREAD
|
Reference in New Issue
Block a user