Skip to content

Commit f450eab

Browse files
authored
Revert last change
1 parent d046b1b commit f450eab

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/build.gera

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,13 @@ pub proc build_project(root_project) {
151151
|> str::join(" ")
152152
var exec_file = ".gerap" |> concat(io::file_sep())
153153
|> concat(root_name)
154-
var cc_colored
155-
case config::get_colored_output() -> cc_colored = ""
156-
else cc_colored = "-fdiagnostics-plain-output"
157-
var cc_cmd = "_ _ _ -lm _-o _ _"
154+
var cc_cmd = "_ _ _ -lm _-o _"
158155
|> str::fmt([
159156
config::get_cc_path(),
160157
linked_files_str,
161158
output_file,
162159
config::get_cc_args(), // adds space at the end
163-
exec_file,
164-
cc_colored
160+
exec_file
165161
])
166162
case env::run(cc_cmd) != 0 -> {
167163
"Unable to compile package '_'!"

0 commit comments

Comments
 (0)