builder: add comment about the goal of cflags.c_options_only_object_files() in cross compilation
parent
4b4733d6b4
commit
1914bc790b
|
@ -723,6 +723,7 @@ fn (mut c Builder) cc_windows_cross() {
|
||||||
libs += ' "$pref.default_module_path/vlib/${imp}.o"'
|
libs += ' "$pref.default_module_path/vlib/${imp}.o"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// add the thirdparty .o files, produced by all the #flag directives:
|
||||||
args += ' ' + cflags.c_options_only_object_files() + ' '
|
args += ' ' + cflags.c_options_only_object_files() + ' '
|
||||||
args += ' $c.out_name_c '
|
args += ' $c.out_name_c '
|
||||||
args += if c.pref.ccompiler == 'msvc' { cflags.c_options_after_target_msvc() } else { cflags.c_options_after_target() }
|
args += if c.pref.ccompiler == 'msvc' { cflags.c_options_after_target_msvc() } else { cflags.c_options_after_target() }
|
||||||
|
|
Loading…
Reference in New Issue