mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make.bat: simplify tcc backend compilation flags (#8414)
This commit is contained in:
parent
93acc929f7
commit
d370e4de9f
6
make.bat
6
make.bat
@ -285,10 +285,10 @@ goto :success
|
|||||||
if [!compiler!] == [] set /a invalid_cc=1
|
if [!compiler!] == [] set /a invalid_cc=1
|
||||||
echo ^> Attempting to build v_win.c with TCC
|
echo ^> Attempting to build v_win.c with TCC
|
||||||
if !flag_verbose! EQU 1 (
|
if !flag_verbose! EQU 1 (
|
||||||
echo [Debug] "!tcc_exe!" -std=c99 -municode -lws2_32 -lshell32 -ladvapi32 -bt10 -w -o v.exe vc\v_win.c>>"!log_file!"
|
echo [Debug] "!tcc_exe!" -ladvapi32 -bt10 -w -o v.exe vc\v_win.c>>"!log_file!"
|
||||||
echo "!tcc_exe!" -std=c99 -municode -lws2_32 -lshell32 -ladvapi32 -bt10 -w -o v.exe vc\v_win.c
|
echo "!tcc_exe!" -ladvapi32 -bt10 -w -o v.exe vc\v_win.c
|
||||||
)
|
)
|
||||||
"!tcc_exe!" -std=c99 -municode -lws2_32 -lshell32 -ladvapi32 -bt10 -w -o v.exe vc\v_win.c>>"!log_file!" 2>NUL
|
"!tcc_exe!" -ladvapi32 -bt10 -w -o v.exe vc\v_win.c>>"!log_file!" 2>NUL
|
||||||
if %ERRORLEVEL% NEQ 0 goto :compile_error
|
if %ERRORLEVEL% NEQ 0 goto :compile_error
|
||||||
|
|
||||||
echo ^> Compiling with .\v.exe self
|
echo ^> Compiling with .\v.exe self
|
||||||
|
Loading…
Reference in New Issue
Block a user