--- vendor/github.com/herumi/bls-eth-go-binary/Makefile.orig 2021-09-17 01:34:41 UTC +++ vendor/github.com/herumi/bls-eth-go-binary/Makefile @@ -40,6 +40,10 @@ endif ifeq ($(CPU),aarch64) _ARCH=arm64 endif +ifeq ($(OS),freebsd) + _OS=freebsd + MIN_CFLAGS+=-fPIC +endif ifeq ($(CPU),arm) _ARCH=arm UNIT=4