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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user