good morning!!!!

Skip to content
Snippets Groups Projects
Commit 04e21631 authored by Maran Hidskes's avatar Maran Hidskes
Browse files

Adding flags to facilitate cross compiling to ARM

parent 35595560
Branches
Tags
No related merge requests found
...@@ -5,8 +5,10 @@ package secp256k1 ...@@ -5,8 +5,10 @@ package secp256k1
/* /*
#cgo CFLAGS: -I./secp256k1 #cgo CFLAGS: -I./secp256k1
#cgo darwin CFLAGS: -I/usr/local/include #cgo darwin CFLAGS: -I/usr/local/include
#cgo linux,arm CFLAGS: -I/usr/local/arm/include
#cgo LDFLAGS: -lgmp #cgo LDFLAGS: -lgmp
#cgo darwin LDFLAGS: -L/usr/local/lib #cgo darwin LDFLAGS: -L/usr/local/lib
#cgo linux,arm LDFLAGS: -L/usr/local/arm/lib
#define USE_NUM_GMP #define USE_NUM_GMP
#define USE_FIELD_10X26 #define USE_FIELD_10X26
#define USE_FIELD_INV_BUILTIN #define USE_FIELD_INV_BUILTIN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment