aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorCamil Staps2016-10-16 20:34:32 +0200
committerCamil Staps2016-10-16 20:34:32 +0200
commit2c2a20f522d558445400853c44a348611fd12f71 (patch)
tree55b644ac271fce574b7f76eb832afcb41753eb7b /compile.c
parentUse genShow from genLibTest instead of gPrint (can show -> type) (diff)
Docker
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/compile.c b/compile.c
index 1411d94..03fe833 100644
--- a/compile.c
+++ b/compile.c
@@ -67,11 +67,11 @@ int64_t compile(CleanString path, CleanString module) {
}
// Build command:
- // cd "<path>" && clm -ms <module> -o <module>
+ // cd "<path>" && clm -ms -nw -b -nt <module> -o <module>
char cmd[182];
- snprintf(cmd, 182, "cd \"%s\" && clm -I $CLEAN_HOME/lib/StdLib -I "
+ snprintf(cmd, 181, "cd \"%s\" && clm -ms -nw -I $CLEAN_HOME/lib/StdLib -I "
"$CLEAN_HOME/lib/Generics -I $CLEAN_HOME/lib/Dynamics -dynamics "
- "-I $CLEAN_HOME/lib/Gast -ms -nw -b -nt %s -o %s",
+ "-I $CLEAN_HOME/lib/Gast -b -nt %s -o %s",
pathchars, modulechars, modulechars);
free(pathchars);
@@ -115,4 +115,3 @@ int64_t run(CleanString executable) {
free(execchars);
return r;
}
-