mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 22:13:39 +00:00
cgo: support builtin #include headers
Add support for header files bundled with the compiler by copying them into the release tarball.
This commit is contained in:
committed by
Ron Evans
parent
d396abb690
commit
2f2d62cc0c
@@ -9,7 +9,10 @@
|
||||
"cflags": [
|
||||
"-Oz",
|
||||
"-mthumb",
|
||||
"-Werror",
|
||||
"-fshort-enums",
|
||||
"-nostdlibinc",
|
||||
"-Wno-macro-redefined",
|
||||
"-fno-exceptions", "-fno-unwind-tables",
|
||||
"-ffunction-sections", "-fdata-sections"
|
||||
],
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
"linker": "wasm-ld",
|
||||
"cflags": [
|
||||
"--target=wasm32",
|
||||
"-nostdlibinc",
|
||||
"-Wno-macro-redefined",
|
||||
"-Oz"
|
||||
],
|
||||
"ldflags": [
|
||||
|
||||
Reference in New Issue
Block a user