tbb/optflags.patch
Ismail Dönmez 6a04b9fe10 Accepting request 155678 from home:adra:branches:devel:libraries:c_c++
Update to version 41_20130116, Removed tbb package, Updated optflags.patch, Added a patch to fix build on PowerPC

OBS-URL: https://build.opensuse.org/request/show/155678
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=5
2013-02-21 21:24:06 +00:00

16 lines
535 B
Diff

--- 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 @@
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
+ CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 $(OPTFLAGS) -DUSE_PTHREAD
endif
ifneq (00,$(lambdas)$(cpp0x))