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. |
||
|---|---|---|
| .. | ||
| extra.go | ||
| main.c | ||
| main.go | ||
| main.h | ||
| out.txt | ||