mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +00:00
builder: refactor clang include headers
Set -resource-dir in a central place instead of passing the header path around everywhere and adding it using the `-I` flag. I believe this is closer to how Clang is intended to be used. This change was inspired by my attempt to add a Nix flake file to TinyGo.
This commit is contained in:
committed by
Ron Evans
parent
c2f1965e03
commit
d801d0cd53
@@ -0,0 +1,7 @@
|
||||
//go:build byollvm
|
||||
|
||||
package goenv
|
||||
|
||||
func init() {
|
||||
hasBuiltinTools = true
|
||||
}
|
||||
Reference in New Issue
Block a user