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 @@ -27,13 +27,13 @@ execute_process(COMMAND
27
27
llvm-config --libs all OUTPUT_VARIABLE LLVM_LINK_FLAGS OUTPUT_STRIP_TRAILING_WHITESPACE)
28
28
29
29
string (REPLACE "-std=c++17 " "" LLVM_CXX_FLAGS ${LLVM_CXX_FLAGS} )
30
- string (REPLACE " " ";" LLVM_CXX_FLAGS ${LLVM_CXX_FLAGS} )
30
+ string (REPLACE " " ";" LLVM_CXX_FLAGS ${LLVM_CXX_FLAGS} -stdlib=libc++ )
31
31
string (REPLACE " " ";" LLVM_LD_FLAGS ${LLVM_LD_FLAGS} )
32
32
string (REPLACE " " ";" LLVM_LINK_FLAGS ${LLVM_LINK_FLAGS} )
33
33
34
34
target_compile_options (compiler PUBLIC ${LLVM_CXX_FLAGS} )
35
35
36
- target_link_options (compiler PUBLIC ${LLVM_LD_FLAGS} ${LLVM_LINK_FLAGS} -stdlib=libc++)
36
+ target_link_options (compiler PUBLIC ${LLVM_LD_FLAGS} ${LLVM_LINK_FLAGS} -stdlib=libc++ -lc++abi )
37
37
target_link_libraries (compiler readline)
38
38
39
39
set_property (TARGET compiler PROPERTY CXX_STANDARD 20)
You can’t perform that action at this time.
0 commit comments