Skip to content

Commit

Permalink
Fix: use libc++ in clang.ubasan toolchain file
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyelewis committed Apr 28, 2021
1 parent 57a5c6b commit bb8e65b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/cmake-toolchain-files/ubuntu-20.04.clang.ubasan.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
set( CMAKE_BUILD_TYPE Debug )


set( CMAKE_C_COMPILER "/usr/bin/clang" CACHE FILEPATH "The C compiler" )
set( CMAKE_CXX_COMPILER "/usr/bin/clang++" CACHE FILEPATH "The C++ compiler" )
set( CMAKE_CXX_FLAGS_INIT " ${CMAKE_CXX_FLAGS_INIT} -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer " )
set( CMAKE_C_COMPILER "/usr/bin/clang" CACHE FILEPATH "The C compiler" )
set( CMAKE_CXX_COMPILER "/usr/bin/clang++" CACHE FILEPATH "The C++ compiler" )
set( CMAKE_CXX_FLAGS_INIT " ${CMAKE_CXX_FLAGS_INIT} -stdlib=libc++ -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer " )

add_compile_options(
-W
Expand Down

0 comments on commit bb8e65b

Please sign in to comment.