SHA256
6
0
forked from pool/tbb
tbb/use-FORTIFY_SOURCE-from-distribution.patch
Dirk Mueller acbefe523a Accepting request 1130173 from home:badshah400:branches:devel:libraries:c_c++
- Update to version 2021.11.0:
  * Fixed tbb::this_task_arena() behavior for specific
    tbb::task_arena{1,0}.
  * Restored performance on the high-core count systems that
    support _tpause.
- Refresh patches to apply cleanly:
  * use-FORTIFY_SOURCE-from-distribution.patch
  * add-cmake-check-for-libatomic-requirement-when-build.patch
- Update Summary and description tags to be consistent with
  upstream's TBB -> oneTBB renaming.

OBS-URL: https://build.opensuse.org/request/show/1130173
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=91
2023-12-01 10:01:10 +00:00

13 lines
520 B
Diff

Index: oneTBB-2021.11.0/cmake/compilers/GNU.cmake
===================================================================
--- oneTBB-2021.11.0.orig/cmake/compilers/GNU.cmake
+++ oneTBB-2021.11.0/cmake/compilers/GNU.cmake
@@ -75,7 +75,6 @@ set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMO
if (NOT APPLE)
set(TBB_LIB_LINK_FLAGS ${TBB_LIB_LINK_FLAGS} -Wl,-z,relro,-z,now,-z,noexecstack)
endif()
-set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} $<$<NOT:$<CONFIG:Debug>>:-D_FORTIFY_SOURCE=2> )
# TBB malloc settings