diff options
author | Elliott Sales de Andrade <[email protected]> | 2022-02-02 06:54:20 -0500 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-03-11 07:51:44 +0100 |
commit | 99ce46669b60f744a0661022e7a4fe3797d34243 (patch) | |
tree | c08abfe3773799b2d19bbce7fae2f76df64baa8e /cgo | |
parent | a1b4eafa07a054a5e64fff984171cba81f88b176 (diff) | |
download | tinygo-99ce46669b60f744a0661022e7a4fe3797d34243.tar.gz tinygo-99ce46669b60f744a0661022e7a4fe3797d34243.zip |
Fix LLVM build constraints
Diffstat (limited to 'cgo')
-rw-r--r-- | cgo/libclang_config_llvm11.go | 8 | ||||
-rw-r--r-- | cgo/libclang_config_llvm12.go | 8 | ||||
-rw-r--r-- | cgo/libclang_config_llvm13.go | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/cgo/libclang_config_llvm11.go b/cgo/libclang_config_llvm11.go index 262303fb7..a967d4716 100644 --- a/cgo/libclang_config_llvm11.go +++ b/cgo/libclang_config_llvm11.go @@ -5,12 +5,12 @@ package cgo /* #cgo linux CFLAGS: -I/usr/lib/llvm-11/include -#cgo darwin amd64 CFLAGS: -I/usr/local/opt/llvm@11/include -#cgo darwin arm64 CFLAGS: -I/opt/homebrew/opt/llvm@11/include +#cgo darwin,amd64 CFLAGS: -I/usr/local/opt/llvm@11/include +#cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/llvm@11/include #cgo freebsd CFLAGS: -I/usr/local/llvm11/include #cgo linux LDFLAGS: -L/usr/lib/llvm-11/lib -lclang -#cgo darwin amd64 LDFLAGS: -L/usr/local/opt/llvm@11/lib -lclang -lffi -#cgo darwin arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@11/lib -lclang -lffi +#cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/llvm@11/lib -lclang -lffi +#cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@11/lib -lclang -lffi #cgo freebsd LDFLAGS: -L/usr/local/llvm11/lib -lclang */ import "C" diff --git a/cgo/libclang_config_llvm12.go b/cgo/libclang_config_llvm12.go index 69808d2ea..736b33362 100644 --- a/cgo/libclang_config_llvm12.go +++ b/cgo/libclang_config_llvm12.go @@ -5,12 +5,12 @@ package cgo /* #cgo linux CFLAGS: -I/usr/lib/llvm-12/include -#cgo darwin amd64 CFLAGS: -I/usr/local/opt/llvm@12/include -#cgo darwin arm64 CFLAGS: -I/opt/homebrew/opt/llvm@12/include +#cgo darwin,amd64 CFLAGS: -I/usr/local/opt/llvm@12/include +#cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/llvm@12/include #cgo freebsd CFLAGS: -I/usr/local/llvm12/include #cgo linux LDFLAGS: -L/usr/lib/llvm-12/lib -lclang -#cgo darwin amd64 LDFLAGS: -L/usr/local/opt/llvm@12/lib -lclang -lffi -#cgo darwin arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@12/lib -lclang -lffi +#cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/llvm@12/lib -lclang -lffi +#cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@12/lib -lclang -lffi #cgo freebsd LDFLAGS: -L/usr/local/llvm12/lib -lclang */ import "C" diff --git a/cgo/libclang_config_llvm13.go b/cgo/libclang_config_llvm13.go index b27b09163..325334a0a 100644 --- a/cgo/libclang_config_llvm13.go +++ b/cgo/libclang_config_llvm13.go @@ -5,12 +5,12 @@ package cgo /* #cgo linux CFLAGS: -I/usr/lib/llvm-13/include -#cgo darwin amd64 CFLAGS: -I/usr/local/opt/llvm@13/include -#cgo darwin arm64 CFLAGS: -I/opt/homebrew/opt/llvm@13/include +#cgo darwin,amd64 CFLAGS: -I/usr/local/opt/llvm@13/include +#cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/llvm@13/include #cgo freebsd CFLAGS: -I/usr/local/llvm13/include #cgo linux LDFLAGS: -L/usr/lib/llvm-13/lib -lclang -#cgo darwin amd64 LDFLAGS: -L/usr/local/opt/llvm@13/lib -lclang -lffi -#cgo darwin arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@13/lib -lclang -lffi +#cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/llvm@13/lib -lclang -lffi +#cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@13/lib -lclang -lffi #cgo freebsd LDFLAGS: -L/usr/local/llvm13/lib -lclang */ import "C" |