Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 1-Stage0/7-LLVM.stage0
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ mv -v /cgnutools/lib/gcc{,-disabled}
cat > /cgnutools/bin/${TARGET_TUPLE}.cfg <<EOF
-L/cgnutools/lib
-nostdinc++
-I/cgnutools/include/$TARGET_TUPLE/c++/v1
-I/cgnutools/include/c++/v1
-I/llvmtools/include
EOF
Expand Down Expand Up @@ -176,6 +177,7 @@ grep ld.lld: dummy.log
grep -B2 -A1 '^ /llvmtools/include' dummy.log
# It should output in this order:
# /cgnutools/include/c++/v1
# /cgnutools/include/x86_64-pc-linux-musl/c++/v1
# /llvmtools/include
# /mnt/cmlfs/cgnutools/lib/clang/15.0.6/include
# NOTE: The libc++ headers should be searched first before any other header directories.
Expand Down