diff options
author | Ayke van Laethem <[email protected]> | 2018-11-30 13:01:20 +0100 |
---|---|---|
committer | Ayke van Laethem <[email protected]> | 2018-12-10 15:38:03 +0100 |
commit | 6cacafb8dc0351c2204cefedcd83864df6591d3d (patch) | |
tree | 239dce4133fd45d9564f37992ccbe9e9c25cf757 /main.go | |
parent | c6069476a7d7f16bbd000004bf574a46d5d2222f (diff) | |
download | tinygo-6cacafb8dc0351c2204cefedcd83864df6591d3d.tar.gz tinygo-6cacafb8dc0351c2204cefedcd83864df6591d3d.zip |
cgo: add package directory to header include paths
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ func Compile(pkgName, outpath string, spec *TargetSpec, config *BuildConfig, act compilerConfig := compiler.Config{ Triple: spec.Triple, GC: config.gc, + CFlags: spec.CFlags, Debug: config.debug, DumpSSA: config.dumpSSA, RootDir: sourceDir(), |