Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 624265e

Browse files
committed
LDFLAGS: add libpthread
This is needed when using gccgo with ld.gold. See golang/go#15549.
1 parent 9716a86 commit 624265e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cgo_flags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ package jemalloc
88
// #cgo darwin CFLAGS: -Idarwin_includes/internal/include -Idarwin_includes/internal/include/jemalloc/internal
99
// #cgo linux CFLAGS: -Ilinux_includes/internal/include -Ilinux_includes/internal/include/jemalloc/internal
1010
// #cgo freebsd CFLAGS: -Ifreebsd_includes/internal/include -Ifreebsd_includes/internal/include/jemalloc/internal
11-
// #cgo LDFLAGS: -lm
11+
// #cgo LDFLAGS: -lm -lpthread
1212
import "C"

0 commit comments

Comments
 (0)