File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ set(GWP_ASAN_HEADERS
33
33
# Ensure that GWP-ASan meets the delegated requirements of some supporting
34
34
# allocators. Some supporting allocators (e.g. scudo standalone) cannot use any
35
35
# parts of the C++ standard library.
36
- set (GWP_ASAN_CFLAGS -fno-rtti -fno-exceptions
36
+ set (GWP_ASAN_CFLAGS ${SANITIZER_COMMON_CFLAGS} -fno-rtti -fno-exceptions
37
37
-nostdinc++ -pthread -fno-omit-frame-pointer)
38
38
append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC GWP_ASAN_CFLAGS)
39
- append_list_if(COMPILER_RT_HAS_SANITIZER_COMMON, ${SANITIZER_COMMON_CFLAGS} GWP_ASAN_CFLAGS)
39
+ # append_list_if(COMPILER_RT_HAS_SANITIZER_COMMON ${SANITIZER_COMMON_CFLAGS} GWP_ASAN_CFLAGS)
40
40
41
41
# Remove -stdlib= which is unused when passing -nostdinc++.
42
42
string (REGEX REPLACE "-stdlib=[a-zA-Z+]*" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
You can’t perform that action at this time.
0 commit comments