mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
bootstrap: single make.bat, default msvc option for forcing gcc
This commit is contained in:

committed by
Alexander Medvednikov

parent
b17bf5843c
commit
7fc899dfd6
@ -228,7 +228,7 @@ pub fn (v mut V) cc_msvc() {
|
||||
// -w: no warnings
|
||||
// 2 unicode defines
|
||||
// /Fo sets the object file name - needed so we can clean up after ourselves properly
|
||||
mut a := ['-w', '/volatile:ms', '/D_UNICODE', '/DUNICODE', '/Fo$out_name_obj']
|
||||
mut a := ['-w', '/we4013', '/volatile:ms', '/D_UNICODE', '/DUNICODE', '/Fo$out_name_obj']
|
||||
|
||||
if v.pref.is_prod {
|
||||
a << '/O2'
|
||||
|
Reference in New Issue
Block a user