diff --git a/vlib/v/pref/pref.v b/vlib/v/pref/pref.v index 0a2d6685dab977..749843bdeffba8 100644 --- a/vlib/v/pref/pref.v +++ b/vlib/v/pref/pref.v @@ -438,6 +438,7 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin '-nofloat' { res.nofloat = true res.compile_defines_all << 'nofloat' // so that `$if nofloat? {` works + res.compile_defines << 'nofloat' } '-fast-math' { res.fast_math = true