tbb/use-FORTIFY_SOURCE-from-distribution.patch
Jan Engelhardt 739780ab34 Accepting request 1169005 from home:cabelo:branches:devel:libraries:c_c++
- Update to version 2021.11.0:
  * Fixed parallel_for_each algorithm behavior for iterators defining
    iterator_concept trait instead of iterator_category.
  * Fixed the incorrect binary search order in TBBConfig.cmake.

OBS-URL: https://build.opensuse.org/request/show/1169005
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=95
2024-04-23 07:26:12 +00:00

12 lines
548 B
Diff

diff -uNr oneTBB-2021.12.0.orig/cmake/compilers/GNU.cmake oneTBB-2021.12.0/cmake/compilers/GNU.cmake
--- oneTBB-2021.12.0.orig/cmake/compilers/GNU.cmake 2024-02-13 08:49:20.000000000 -0300
+++ oneTBB-2021.12.0/cmake/compilers/GNU.cmake 2024-04-19 03:55:56.178055557 -0300
@@ -75,7 +75,6 @@
if (NOT APPLE AND NOT MINGW)
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