From 78ba6ce16a1ddad2fc4e592a017dfb659bc072f1 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Wed, 23 Jul 2025 12:16:12 -0500 Subject: [PATCH] ecs: hack to get ECS to compile against VCSlib config --- src/worker/tools/ecs.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/worker/tools/ecs.ts b/src/worker/tools/ecs.ts index b00fbf88..d7e0f487 100644 --- a/src/worker/tools/ecs.ts +++ b/src/worker/tools/ecs.ts @@ -16,6 +16,10 @@ export function assembleECS(step: BuildStep): BuildStepResult { if (staleFiles(step, [destpath])) { let code = getWorkFileAsString(step.path); fixParamsWithDefines(step.path, step.params); + // remove crt0.o from libargs + step.params.libargs = step.params.libargs.filter((arg: string) => { + return arg !== 'crt0.o'; + }); try { compiler.includeDebugInfo = true; compiler.parseFile(code, step.path);