Skip to content

Commit f135a91

Browse files
[gwpAsan] revert minor change
This change reverts a small cmake change that was causing buildbot failures. Differential Revision: https://reviews.llvm.org/D107510
1 parent 0bd2d4c commit f135a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/gwp_asan/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ set(GWP_ASAN_HEADERS
3333
# Ensure that GWP-ASan meets the delegated requirements of some supporting
3434
# allocators. Some supporting allocators (e.g. scudo standalone) cannot use any
3535
# 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
3737
-nostdinc++ -pthread -fno-omit-frame-pointer)
3838
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)
4040

4141
# Remove -stdlib= which is unused when passing -nostdinc++.
4242
string(REGEX REPLACE "-stdlib=[a-zA-Z+]*" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})

0 commit comments

Comments
 (0)