mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
doc/README: remove requirement for manual bool define
This commit is contained in:
parent
7f114f1538
commit
240d1c3925
@ -160,7 +160,7 @@ $env:CGO_ENABLED = 1
|
|||||||
$env:CC = 'C:\dev\rootfs\bin\clang.exe'
|
$env:CC = 'C:\dev\rootfs\bin\clang.exe'
|
||||||
$env:CXX = '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: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"`
|
4. Run `go build -ldflags "-s -w -H windowsgui"`
|
||||||
|
Loading…
Reference in New Issue
Block a user