pref: define nofloat comptime define

pull/11489/head
Alexander Medvednikov 2021-09-13 18:34:58 +03:00
parent 04d4431299
commit c99281709b
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ pub fn parse_args(known_external_commands []string, args []string) (&Preferences
}
'-nofloat' {
res.nofloat = true
res.compile_defines_all << 'nofloat' // so that `$if nofloat? {` works
}
'-gc' {
gc_mode := cmdline.option(current_args, '-gc', '')