Skip to content

Commit

Permalink
-lstdc++ is unnecessary on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Apr 9, 2024
1 parent f13490a commit ff01503
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bls/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ package bls
#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 -lstdc++
#cgo linux,amd64 LDFLAGS:-L${SRCDIR}/lib/linux/amd64 -lstdc++
#cgo linux,amd64 LDFLAGS:-L${SRCDIR}/lib/linux/amd64
#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,arm64 LDFLAGS:-L${SRCDIR}/lib/darwin/arm64
#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++
#cgo openbsd,amd64 LDFLAGS:-L${SRCDIR}/lib/openbsd/amd64
#cgo freebsd,amd64 LDFLAGS:-L${SRCDIR}/lib/freebsd/amd64
*/
import "C"

0 comments on commit ff01503

Please sign in to comment.