We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 384b25c commit 75cfe4cCopy full SHA for 75cfe4c
src/incremental/makefileUtil.ml
@@ -61,7 +61,7 @@ let run_cilly (path: string) ~all_cppflags =
61
remove_comb_files path;
62
(* Combine source files with make using cilly as compiler *)
63
let gcc_path = GobConfig.get_string "exp.gcc_path" in
64
- let cflags = if all_cppflags = [] then " CFLAGS+=" ^ Filename.quote (String.join " " all_cppflags) else "" in
+ let cflags = if all_cppflags = [] then "" else " CFLAGS+=" ^ Filename.quote (String.join " " all_cppflags) in
65
let (exit_code, output) = exec_command ~path ("make CC=\"cilly --gcc=" ^ gcc_path ^ " --merge --keepmerged\"" ^cflags ^ " " ^
66
"LD=\"cilly --gcc=" ^ gcc_path ^ " --merge --keepmerged\"") in
67
print_string output;
0 commit comments