File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -779,6 +779,10 @@ fn configure_cmake(
779779 if builder. config . llvm_clang_cl . is_some ( ) {
780780 cflags. push ( format ! ( " --target={target}" ) ) ;
781781 }
782+ // Manuel
783+ let base = builder. llvm_out ( target) . join ( "include" ) ;
784+ let inc_dir = base. display ( ) ;
785+ cflags. push ( format ! ( " -I {inc_dir}" ) ) ;
782786 cfg. define ( "CMAKE_C_FLAGS" , cflags) ;
783787 let mut cxxflags: OsString = builder
784788 . cc_handled_clags ( target, CLang :: Cxx )
@@ -792,6 +796,7 @@ fn configure_cmake(
792796 . collect :: < Vec < String > > ( )
793797 . join ( " " )
794798 . into ( ) ;
799+ cxxflags. push ( format ! ( " -I {inc_dir}" ) ) ;
795800 if let Some ( ref s) = builder. config . llvm_cxxflags {
796801 cxxflags. push ( " " ) ;
797802 cxxflags. push ( s) ;
You can’t perform that action at this time.
0 commit comments