cgo: use O3

This commit is contained in:
Michael Yang
2025-01-30 12:05:50 -08:00
parent 5d75d837ef
commit bea1f1fac6
11 changed files with 13 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
package discover
/*
#cgo CPPFLAGS: -O3
#cgo linux LDFLAGS: -lrt -lpthread -ldl -lstdc++ -lm
#cgo windows LDFLAGS: -lpthread