mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
This doesn't affect the release builds but it is helpful for TinyGo developers.pull/1585/head
Ayke van Laethem
4 years ago
committed by
Ron Evans
5 changed files with 24 additions and 24 deletions
@ -1,14 +1,14 @@ |
|||
// +build !byollvm
|
|||
// +build !llvm9,!llvm11
|
|||
// +build !llvm10,!llvm9
|
|||
|
|||
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 |
|||
#cgo linux CFLAGS: -I/usr/lib/llvm-11/include |
|||
#cgo darwin CFLAGS: -I/usr/local/opt/llvm@11/include |
|||
#cgo freebsd CFLAGS: -I/usr/local/llvm11/include |
|||
#cgo linux LDFLAGS: -L/usr/lib/llvm-11/lib -lclang |
|||
#cgo darwin LDFLAGS: -L/usr/local/opt/llvm@11/lib -lclang -lffi |
|||
#cgo freebsd LDFLAGS: -L/usr/local/llvm11/lib -lclang |
|||
*/ |
|||
import "C" |
|||
|
@ -0,0 +1,14 @@ |
|||
// +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" |
@ -1,14 +0,0 @@ |
|||
// +build !byollvm
|
|||
// +build llvm11
|
|||
|
|||
package cgo |
|||
|
|||
/* |
|||
#cgo linux CFLAGS: -I/usr/lib/llvm-11/include |
|||
#cgo darwin CFLAGS: -I/usr/local/opt/llvm@11/include |
|||
#cgo freebsd CFLAGS: -I/usr/local/llvm11/include |
|||
#cgo linux LDFLAGS: -L/usr/lib/llvm-11/lib -lclang |
|||
#cgo darwin LDFLAGS: -L/usr/local/opt/llvm@11/lib -lclang -lffi |
|||
#cgo freebsd LDFLAGS: -L/usr/local/llvm11/lib -lclang |
|||
*/ |
|||
import "C" |
Loading…
Reference in new issue