builder: fix thirdparty object files compilation with tcc (no -lxyz with -c)

pull/8896/head
Delyan Angelov 2021-02-22 08:18:24 +02:00
parent f18adf7759
commit 9ab291319c
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 0 additions and 1 deletions

View File

@ -975,7 +975,6 @@ fn (mut v Builder) build_thirdparty_obj_file(path string, moduleflags []cflag.CF
all_options << moduleflags.c_options_before_target()
all_options << '-o "$opath"'
all_options << '-c "$cfile"'
all_options << moduleflags.c_options_after_target()
cc_options := v.ccoptions.thirdparty_object_args(all_options).join(' ')
cmd := '$v.pref.ccompiler $cc_options'
$if trace_thirdparty_obj_files ? {