mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
a90865506d
This doesn't affect the release builds but it is helpful for TinyGo developers.
15 lines
386 B
Go
15 lines
386 B
Go
// +build !byollvm
|
|
// +build llvm10
|
|
|
|
package cgo
|
|
|
|
/*
|
|
#cgo linux CFLAGS: -I/usr/lib/llvm-10/include
|
|
#cgo darwin CFLAGS: -I/usr/local/opt/llvm@10/include
|
|
#cgo freebsd CFLAGS: -I/usr/local/llvm10/include
|
|
#cgo linux LDFLAGS: -L/usr/lib/llvm-10/lib -lclang
|
|
#cgo darwin LDFLAGS: -L/usr/local/opt/llvm@10/lib -lclang -lffi
|
|
#cgo freebsd LDFLAGS: -L/usr/local/llvm10/lib -lclang
|
|
*/
|
|
import "C"
|