Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Mar 22, 2024
2 parents eb66a90 + 5655236 commit cfcaf4a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions ETH.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ETH_CFLAGS=-DBLS_ETH
MCL_STATIC_CODE=1
14 changes: 7 additions & 7 deletions bls/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
package bls

/*
#cgo LDFLAGS:-lbls384_256 -lstdc++ -lm
#cgo LDFLAGS:-lbls384_256 -lm
#cgo android,arm64 LDFLAGS:-L${SRCDIR}/lib/android/arm64-v8a
#cgo android,arm LDFLAGS:-L${SRCDIR}/lib/android/armeabi-v7a
#cgo android,amd64 LDFLAGS:-L${SRCDIR}/lib/android/x86_64
#cgo linux,amd64 LDFLAGS:-L${SRCDIR}/lib/linux/amd64
#cgo android,amd64 LDFLAGS:-L${SRCDIR}/lib/android/x86_64 -lstdc++
#cgo linux,amd64 LDFLAGS:-L${SRCDIR}/lib/linux/amd64 -lstdc++
#cgo linux,arm64 LDFLAGS:-L${SRCDIR}/lib/linux/arm64
#cgo linux,mipsle LDFLAGS:-L${SRCDIR}/lib/linux/mipsel
#cgo linux,arm LDFLAGS:-L${SRCDIR}/lib/linux/arm
#cgo linux,s390x LDFLAGS:-L${SRCDIR}/lib/linux/s390x
#cgo darwin,amd64 LDFLAGS:-L${SRCDIR}/lib/darwin/amd64
#cgo darwin,amd64 LDFLAGS:-L${SRCDIR}/lib/darwin/amd64 -lstdc++
#cgo darwin,arm64 LDFLAGS:-L${SRCDIR}/lib/darwin/arm64
#cgo windows,amd64 LDFLAGS:-L${SRCDIR}/lib/windows/amd64
#cgo openbsd,amd64 LDFLAGS:-L${SRCDIR}/lib/openbsd/amd64
#cgo freebsd,amd64 LDFLAGS:-L${SRCDIR}/lib/freebsd/amd64
#cgo windows,amd64 LDFLAGS:-L${SRCDIR}/lib/windows/amd64 -lstdc++
#cgo openbsd,amd64 LDFLAGS:-L${SRCDIR}/lib/openbsd/amd64 -lstdc++
#cgo freebsd,amd64 LDFLAGS:-L${SRCDIR}/lib/freebsd/amd64 -lstdc++
*/
import "C"
2 changes: 1 addition & 1 deletion src/bls
Submodule bls updated 1 files
+1 −1 mcl

0 comments on commit cfcaf4a

Please sign in to comment.