Fix missing Runtime files

This commit is contained in:
LagoLunatic
2023-10-18 18:10:17 -04:00
parent c80fa3bba2
commit a8c3d92d69
6 changed files with 8 additions and 5 deletions
+4 -4
View File
@@ -1065,13 +1065,13 @@ config.libs = [
"cflags": cflags_runtime,
"host": False,
"objects": [
Object(Matching, "Runtime.PPCEABI.H/__mem.c"),
Object(NonMatching, "Runtime.PPCEABI.H/__mem.c"),
Object(Matching, "Runtime.PPCEABI.H/__va_arg.c"),
Object(Matching, "Runtime.PPCEABI.H/global_destructor_chain.c"),
Object(Matching, "Runtime.PPCEABI.H/CPlusLibPPC.cp"),
Object(Matching, "Runtime.PPCEABI.H/NMWException.cp"),
Object(Matching, "Runtime.PPCEABI.H/ptmf.c"),
Object(Matching, "Runtime.PPCEABI.H/runtime.c"),
Object(NonMatching, "Runtime.PPCEABI.H/NMWException.cp"),
Object(NonMatching, "Runtime.PPCEABI.H/ptmf.c"),
Object(NonMatching, "Runtime.PPCEABI.H/runtime.c"),
Object(Matching, "Runtime.PPCEABI.H/__init_cpp_exceptions.cpp"),
Object(Matching, "Runtime.PPCEABI.H/Gecko_ExceptionPPC.cp"),
Object(Matching, "Runtime.PPCEABI.H/GCN_mem_alloc.c"),
+1
View File
@@ -0,0 +1 @@
#include "Runtime.PPCEABI.H/NMWException.h"
View File
+1
View File
@@ -0,0 +1 @@
#include "Runtime.PPCEABI.H/ptmf.h"
+1
View File
@@ -0,0 +1 @@
#include "Runtime.PPCEABI.H/runtime.h"
+1 -1
View File
@@ -517,7 +517,7 @@ def generate_build_ninja(config, build_config):
unit_src_path = config.src_dir / options["source"]
if not unit_src_path.exists():
if config.warn_missing_source:
if config.warn_missing_source or completed:
print(f"Missing source file {unit_src_path}")
link_step.add(obj_path)
return