diff --git a/cgo_flags.go b/cgo_flags.go index 9def9ed..ff2fb1d 100644 --- a/cgo_flags.go +++ b/cgo_flags.go @@ -16,10 +16,12 @@ import ( // #cgo darwin CPPFLAGS: -DOS_MACOSX // #cgo linux CPPFLAGS: -DOS_LINUX // #cgo freebsd CPPFLAGS: -DOS_FREEBSD +// #cgo dragonfly CPPFLAGS: -DOS_DRAGONFLY // #cgo CXXFLAGS: -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter // #cgo CXXFLAGS: -std=c++11 -fno-omit-frame-pointer -momit-leaf-frame-pointer // #cgo darwin CXXFLAGS: -Wshorten-64-to-32 // #cgo freebsd CXXFLAGS: -Wshorten-64-to-32 +// #cgo dragonfly CXXFLAGS: -Wshorten-64-to-32 // #cgo darwin LDFLAGS: -Wl,-undefined -Wl,dynamic_lookup // #cgo !darwin LDFLAGS: -Wl,-unresolved-symbols=ignore-all import "C"