Skip to content

Commit 12a4ee4

Browse files
committed
Include llvm-libc to libcxx's include paths
1 parent 14cf792 commit 12a4ee4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/system_libs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,9 +1652,10 @@ class libcxx(ExceptionLibrary, MTLibrary):
16521652
'-Wno-unqualified-std-cast-call',
16531653
'-Wno-unknown-warning-option',
16541654
'-std=c++23',
1655+
'-DLIBC_NAMESPACE=__llvm_libc',
16551656
]
16561657

1657-
includes = ['system/lib/libcxx/src']
1658+
includes = ['system/lib/libcxx/src', 'system/lib/llvm-libc']
16581659

16591660
src_dir = 'system/lib/libcxx/src'
16601661
src_glob = '**/*.cpp'

0 commit comments

Comments
 (0)