aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/openmp/patches/make_kmp_debug_opt_in.patch
blob: 75bd8b1b6635f149c25063c03877b73e0360a3dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/kmp_config-linux.h
+++ b/kmp_config-linux.h
@@ -13,10 +13,6 @@
 
 #include "kmp_platform.h"
 
-// cmakedefine01 MACRO will define MACRO as either 0 or 1
-// cmakedefine MACRO 1 will define MACRO as 1 or leave undefined
-#define DEBUG_BUILD 0
-#define RELWITHDEBINFO_BUILD 0
 #define LIBOMP_USE_ITT_NOTIFY 0
 #define USE_ITT_NOTIFY LIBOMP_USE_ITT_NOTIFY
 #if ! LIBOMP_USE_ITT_NOTIFY
@@ -113,9 +109,8 @@
 #if STUBS_LIBRARY
 # define KMP_STUB 1
 #endif
-#if DEBUG_BUILD || RELWITHDEBINFO_BUILD
-# define KMP_DEBUG 1
-#endif
+
+// KMP_DEBUG is explicitly set from ya.make
 
 #if KMP_OS_WINDOWS
 # define KMP_WIN_CDECL