makefile/windows: set windowsgui flag

This commit is contained in:
mappu 2024-06-30 10:44:59 +12:00
parent c5578daa9f
commit 748dd96267

View File

@ -24,7 +24,7 @@ yvbolt: $(SOURCES)
upx --best yvbolt
yvbolt.exe: $(SOURCES)
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc-win32 go build -trimpath -ldflags '-s -w'
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc-win32 go build -trimpath -ldflags '-s -w -H windowsgui'
upx --best yvbolt.exe
yvbolt.linux64.tar.xz: yvbolt liblcl.so