diff options
author | Camil Staps | 2016-10-16 20:34:32 +0200 |
---|---|---|
committer | Camil Staps | 2016-10-16 20:34:32 +0200 |
commit | 2c2a20f522d558445400853c44a348611fd12f71 (patch) | |
tree | 55b644ac271fce574b7f76eb832afcb41753eb7b /compile.c | |
parent | Use genShow from genLibTest instead of gPrint (can show -> type) (diff) |
Docker
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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; } - |