cc: -ferror-limit

pull/3902/head
Alexander Medvednikov 2020-03-05 00:45:43 +01:00
parent 4161cfcdb8
commit b32a94627c
1 changed files with 3 additions and 1 deletions

View File

@ -199,8 +199,10 @@ fn (v mut V) cc() {
} }
if debug_mode { if debug_mode {
a << debug_options a << debug_options
$if macos {
a << ' -ferror-limit=5000 ' a << ' -ferror-limit=5000 '
} }
}
if v.pref.is_prod { if v.pref.is_prod {
a << optimization_options a << optimization_options
} }