tbb/optflags.patch
Ismail Dönmez d273a8cc70 - Update to version 2019_U5
* Too many changes to list, please see the included CHANGES file.
- Install TBBConfig*.cmake

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=49
2019-04-25 08:31:09 +00:00

14 lines
506 B
Diff

Index: tbb-2019_U5/build/linux.gcc.inc
===================================================================
--- tbb-2019_U5.orig/build/linux.gcc.inc
+++ tbb-2019_U5/build/linux.gcc.inc
@@ -69,7 +69,7 @@ ifneq (,$(shell $(CONLY) -dumpversion |
endif
ifeq ($(cfg), release)
- CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
+ CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 $(OPTFLAGS) -DUSE_PTHREAD
endif
ifeq ($(cfg), debug)
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD