mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.builder: fix v -no-retry-compilation -cc tcc -usecache examples/tetris/
This commit is contained in:
parent
99fdcd2e71
commit
4114dd0815
@ -341,7 +341,12 @@ fn (mut v Builder) setup_ccompiler_options(ccompiler string) {
|
||||
ccoptions.post_args << '-municode'
|
||||
}
|
||||
cflags := v.get_os_cflags()
|
||||
ccoptions.o_args << cflags.c_options_only_object_files()
|
||||
|
||||
if v.pref.build_mode != .build_module {
|
||||
only_o_files := cflags.c_options_only_object_files()
|
||||
ccoptions.o_args << only_o_files
|
||||
}
|
||||
|
||||
defines, others, libs := cflags.defines_others_libs()
|
||||
ccoptions.pre_args << defines
|
||||
ccoptions.pre_args << others
|
||||
|
Loading…
Reference in New Issue
Block a user