specifed CGO_CFLAGS and CGO_LDFLAGS in Makefile.am
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
removed ##cgo CFLAGS and #cgo LDFLAGS from go source files
This commit is contained in:
14
go/cb.go
14
go/cb.go
@ -1,26 +1,24 @@
|
||||
package hcl
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -I/home/hyung-hwan/xxx/include -g -Wall
|
||||
#cgo LDFLAGS: -L/home/hyung-hwan/xxx/lib -lhcl -ldl -lquadmath
|
||||
|
||||
#include <hcl.h>
|
||||
#include <hcl-utl.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
import (
|
||||
// "bufio"
|
||||
// "io"
|
||||
// "bufio"
|
||||
// "io"
|
||||
"os"
|
||||
// "sync"
|
||||
// "unsafe"
|
||||
// "sync"
|
||||
// "unsafe"
|
||||
)
|
||||
|
||||
type IOHandle struct {
|
||||
file *os.File
|
||||
ioif interface{}
|
||||
}
|
||||
|
||||
/*
|
||||
type IOHandleTable struct {
|
||||
mtx sync.Mutex
|
||||
@ -408,7 +406,7 @@ func (p *PrintFileHandler) Open(g *HCL) error {
|
||||
f *os.File
|
||||
// err error
|
||||
)
|
||||
|
||||
|
||||
// f, err = os.OpenFile("/dev/stdout", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644)
|
||||
// if err != nil {
|
||||
// return err
|
||||
|
@ -1,9 +1,6 @@
|
||||
package hcl
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -I/home/hyung-hwan/xxx/include -g -Wall
|
||||
#cgo LDFLAGS: -L/home/hyung-hwan/xxx/lib -lhcl -ldl -lquadmath
|
||||
|
||||
#include <hcl.h>
|
||||
#include <hcl-utl.h>
|
||||
*/
|
||||
|
@ -1,9 +1,6 @@
|
||||
package hcl
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -I/home/hyung-hwan/xxx/include -g -Wall
|
||||
#cgo LDFLAGS: -L/home/hyung-hwan/xxx/lib -lhcl -ldl -lquadmath
|
||||
|
||||
#include <hcl.h>
|
||||
*/
|
||||
import "C"
|
||||
|
Reference in New Issue
Block a user