aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.bat b/build.bat
index bb3d00f6..9bddfcfa 100644
--- a/build.bat
+++ b/build.bat
@@ -30,11 +30,11 @@ if exist .deps\prepared goto :render
:build
set PATH=%STARTDIR%\.deps\go\bin\;%PATH%
- set CFLAGS=-O3 -Wall -std=gnu11
set GOOS=windows
set GOPATH=%STARTDIR%\.deps\gopath
set GOROOT=%STARTDIR%\.deps\go
set CGO_ENABLED=1
+ set CGO_CFLAGS=-O3 -Wall -Wno-switch -std=gnu11 -DWINVER=0x0601
call :build_plat x86 i686 386 || goto :error
call :build_plat amd64 x86_64 amd64 || goto :error