aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/secp256k1
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-11-17 01:23:51 +0800
committerFelix Lange <fjl@twurst.com>2015-11-17 16:53:10 +0800
commite344e1d4903f47d525258305d986f4aa0dd0ab52 (patch)
tree6514c6d074076ba65f134bcfce453c6e7185793c /crypto/secp256k1
parent5159f8f6493bfa3cfb0ee3b1517f4576d4c9d2de (diff)
downloaddexon-e344e1d4903f47d525258305d986f4aa0dd0ab52.tar
dexon-e344e1d4903f47d525258305d986f4aa0dd0ab52.tar.gz
dexon-e344e1d4903f47d525258305d986f4aa0dd0ab52.tar.bz2
dexon-e344e1d4903f47d525258305d986f4aa0dd0ab52.tar.lz
dexon-e344e1d4903f47d525258305d986f4aa0dd0ab52.tar.xz
dexon-e344e1d4903f47d525258305d986f4aa0dd0ab52.tar.zst
dexon-e344e1d4903f47d525258305d986f4aa0dd0ab52.zip
crypto/secp256k1: drop pkgsrc paths from CFLAGS
They cause compiler warnings for people who don't have these directories. People with pkgsrc can add the directory through CGO_CFLAGS instead.
Diffstat (limited to 'crypto/secp256k1')
-rw-r--r--crypto/secp256k1/secp256.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/secp256k1/secp256.go b/crypto/secp256k1/secp256.go
index 4269b6a8c..41a5608a5 100644
--- a/crypto/secp256k1/secp256.go
+++ b/crypto/secp256k1/secp256.go
@@ -20,11 +20,11 @@ package secp256k1
/*
#cgo CFLAGS: -I./libsecp256k1
-#cgo darwin CFLAGS: -I/usr/local/include -I/opt/pkg/include
+#cgo darwin CFLAGS: -I/usr/local/include
#cgo freebsd CFLAGS: -I/usr/local/include
#cgo linux,arm CFLAGS: -I/usr/local/arm/include
#cgo LDFLAGS: -lgmp
-#cgo darwin LDFLAGS: -L/usr/local/lib -L/opt/pkg/lib
+#cgo darwin LDFLAGS: -L/usr/local/lib
#cgo freebsd LDFLAGS: -L/usr/local/lib
#cgo linux,arm LDFLAGS: -L/usr/local/arm/lib
#define USE_NUM_GMP