File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 8282 # Verify the change
8383 clang --version
8484 clang++ --version
85+ clang++ -v -E -x c++ /dev/null
86+ clang++ -v -stdlib=libc++
8587
8688 - name : Configure CMake
8789 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Original file line number Diff line number Diff line change @@ -199,7 +199,8 @@ elseif(LINUX)
199199
200200 if (CMAKE_CXX_COMPILER MATCHES "clang" )
201201 message (STATUS "Detected Clang compiler: ${CMAKE_CXX_COMPILER} " )
202- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -lc++abi" )
202+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++" )
203+ set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lc++abi" )
203204 endif ()
204205
205206endif ()
You can’t perform that action at this time.
0 commit comments