Adjust path to crtbegin.c / crtend.c
These were moved into builtins by https://reviews.llvm.org/D153989.
This commit is contained in:
parent
01cdc505d9
commit
5be397441e
@ -1159,8 +1159,8 @@ fn run(self, builder: &Builder<'_>) -> Self::Output {
|
|||||||
return out_dir;
|
return out_dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
let crtbegin_src = builder.src.join("src/llvm-project/compiler-rt/lib/crt/crtbegin.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/crt/crtend.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"))
|
if up_to_date(&crtbegin_src, &out_dir.join("crtbegin.o"))
|
||||||
&& up_to_date(&crtend_src, &out_dir.join("crtendS.o"))
|
&& up_to_date(&crtend_src, &out_dir.join("crtendS.o"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user