mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 03:03:27 +00:00
windows: add support for the Boehm-Demers-Weiser GC
A few small changes were needed to make this work. In particular, I found a critical bug (see the previous commit) that needed to be fixed to make this work on Windows.
This commit is contained in:
committed by
Ron Evans
parent
fd3976b5bb
commit
b9bf0aa0da
@@ -395,8 +395,10 @@ func (c *Config) LibcCFlags() []string {
|
||||
"-nostdlibinc",
|
||||
"-isystem", filepath.Join(path, "include"),
|
||||
"-isystem", filepath.Join(root, "lib", "mingw-w64", "mingw-w64-headers", "crt"),
|
||||
"-isystem", filepath.Join(root, "lib", "mingw-w64", "mingw-w64-headers", "include"),
|
||||
"-isystem", filepath.Join(root, "lib", "mingw-w64", "mingw-w64-headers", "defaults", "include"),
|
||||
"-D_UCRT",
|
||||
"-D_WIN32_WINNT=0x0a00", // target Windows 10
|
||||
}
|
||||
case "":
|
||||
// No libc specified, nothing to add.
|
||||
|
||||
Reference in New Issue
Block a user