1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-01-22 07:19:49 +00:00

ecs: hack to get ECS to compile against VCSlib config

This commit is contained in:
Steven Hugg
2025-07-23 12:16:12 -05:00
parent 6ad35adcb6
commit 78ba6ce16a

View File

@@ -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);