Adjust path to crtbegin.c / crtend.c

These were moved into builtins by https://reviews.llvm.org/D153989.
This commit is contained in:
Nikita Popov 2023-07-29 23:00:05 +02:00
parent 01cdc505d9
commit 5be397441e

View File

@ -1159,8 +1159,8 @@ fn run(self, builder: &Builder<'_>) -> Self::Output {
return out_dir;
}
let crtbegin_src = builder.src.join("src/llvm-project/compiler-rt/lib/crt/crtbegin.c");
let crtend_src = builder.src.join("src/llvm-project/compiler-rt/lib/crt/crtend.c");
let crtbegin_src = builder.src.join("src/llvm-project/compiler-rt/lib/builtins/crtbegin.c");
let crtend_src = builder.src.join("src/llvm-project/compiler-rt/lib/builtins/crtend.c");
if up_to_date(&crtbegin_src, &out_dir.join("crtbegin.o"))
&& up_to_date(&crtend_src, &out_dir.join("crtendS.o"))
{