github.com/razvanm/vanadium-go-1.3@v0.0.0-20160721203343-4a65068e5915/src/runtime/cgo/cgo.go (about)

     1  // Copyright 2010 The Go Authors.  All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  /*
     6  Package cgo contains runtime support for code generated
     7  by the cgo tool.  See the documentation for the cgo command
     8  for details on using cgo.
     9  */
    10  package cgo
    11  
    12  /*
    13  
    14  #cgo darwin LDFLAGS: -lpthread
    15  #cgo dragonfly LDFLAGS: -lpthread
    16  #cgo freebsd LDFLAGS: -lpthread
    17  #cgo android LDFLAGS: -llog
    18  #cgo !android,linux LDFLAGS: -lpthread
    19  #cgo netbsd LDFLAGS: -lpthread
    20  #cgo openbsd LDFLAGS: -lpthread
    21  #cgo windows LDFLAGS: -lm -mthreads
    22  
    23  #cgo CFLAGS: -Wall -Werror
    24  
    25  */
    26  import "C"