tinygo/cgo
Ayke van Laethem 1bed192de0 cgo: add support for CFLAGS in .c files
This patch adds support for passing CFLAGS added in #cgo lines of the
CGo preprocessing phase to the compiler when compiling C files inside
packages. This is expected and convenient but didn't work before.
2021-04-06 10:57:50 +02:00
..
testdata Add support for Go 1.16. 2021-02-19 23:46:55 +01:00
cgo.go cgo: add support for CFLAGS in .c files 2021-04-06 10:57:50 +02:00
cgo_test.go cgo: add support for CFLAGS in .c files 2021-04-06 10:57:50 +02:00
const.go cgo: fix a bug in number tokenization 2020-01-03 23:44:58 +01:00
const_test.go cgo: fix a bug in number tokenization 2020-01-03 23:44:58 +01:00
libclang.go builder, compiler: compile and cache packages in parallel 2021-03-21 11:51:35 +01:00
libclang_config.go all: remove support for LLVM 9 2021-03-04 15:46:05 +01:00
libclang_config_llvm10.go main: use LLVM 11 by default when linking LLVM dynamically 2021-01-19 08:55:57 +01:00
libclang_stubs.c main: switch to LLVM 10 2020-04-09 20:23:51 +02:00
security.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
security_test.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
sync.go cgo: refactor; support multiple cgo files in a single package 2019-05-12 10:49:15 +02:00