fix CGO_ENABLED for build of go standard library
@@ -3690,7 +3690,7 @@ macro GO_FAKE_OUTPUT(FILES...) {
CGO_ENABLED=yes
-when ($SANITIZER_TYPE && $SANITIZER_TYPE != "no") {
+when ($OS_WINDOWS == "yes" || $SANITIZER_TYPE && $SANITIZER_TYPE != "no") {
CGO_ENABLED=no
}
