doc/README: remove requirement for manual bool define

This commit is contained in:
mappu 2024-12-11 19:55:59 +13:00
parent 7f114f1538
commit 240d1c3925

View File

@ -160,7 +160,7 @@ $env:CGO_ENABLED = 1
$env:CC = 'C:\dev\rootfs\bin\clang.exe'
$env:CXX = 'C:\dev\rootfs\bin\clang++.exe'
$env:PKG_CONFIG = 'C:\dev\rootfs\bin\pkg-config.exe'
$env:CGO_CXXFLAGS = '-Wno-ignored-attributes -D_Bool=bool' # Clang 18 recommendation
$env:CGO_CXXFLAGS = '-Wno-ignored-attributes' # Clang 18 recommendation
```
4. Run `go build -ldflags "-s -w -H windowsgui"`