mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
Originally based on a PR by @QuLogic, but extended a lot to get all tests to pass.pull/2340/head
Ayke van Laethem
4 years ago
committed by
Ron Evans
16 changed files with 91 additions and 46 deletions
@ -0,0 +1,14 @@ |
|||
// +build !byollvm
|
|||
// +build llvm12
|
|||
|
|||
package cgo |
|||
|
|||
/* |
|||
#cgo linux CFLAGS: -I/usr/lib/llvm-12/include |
|||
#cgo darwin CFLAGS: -I/usr/local/opt/llvm@12/include |
|||
#cgo freebsd CFLAGS: -I/usr/local/llvm12/include |
|||
#cgo linux LDFLAGS: -L/usr/lib/llvm-12/lib -lclang |
|||
#cgo darwin LDFLAGS: -L/usr/local/opt/llvm@12/lib -lclang -lffi |
|||
#cgo freebsd LDFLAGS: -L/usr/local/llvm12/lib -lclang |
|||
*/ |
|||
import "C" |
Loading…
Reference in new issue