llvm cpu features

This commit is contained in:
j7b
2019-01-09 18:12:33 -08:00
committed by Ayke van Laethem
parent 4442b1304e
commit 0ae467d3e2
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -94,6 +94,7 @@ func Compile(pkgName, outpath string, spec *TargetSpec, config *BuildConfig, act
compilerConfig := compiler.Config{
Triple: spec.Triple,
CPU: spec.CPU,
Features: spec.Features,
GOOS: spec.GOOS,
GOARCH: spec.GOARCH,
GC: config.gc,