File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 9393 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100
9494 sudo update-alternatives --set clang /usr/bin/clang-16
9595 sudo update-alternatives --set clang++ /usr/bin/clang++-16
96+ export LD_LIBRARY_PATH=$glibc_install/lib:$LD_LIBRARY_PATH
9697
9798 - name : Check Clang Settings
9899 if : matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'clang'
Original file line number Diff line number Diff line change @@ -195,11 +195,11 @@ elseif(APPLE)
195195 create_source_groups(MACOS_SOURCES)
196196
197197elseif (LINUX)
198- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGUID_STDLIB -std=c++17" )
198+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGUID_STDLIB -D_GLIBCXX_USE_CXX11_ABI=0 - std=c++17" )
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++" )
202+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -nostdinc++ -I $ENV{glibc_install} /include/c++/v1 -L $ENV{glibc_install} /lib " )
203203 endif ()
204204
205205endif ()
You can’t perform that action at this time.
0 commit comments