diff options
author | 2021-09-08 21:12:23 +0100 | |
---|---|---|
committer | 2021-09-08 21:12:23 +0100 | |
commit | 71a4f8667c63c2ffbe58eee7b5e963d3e09a42de (patch) | |
tree | d78cb33084b46cc0490b81a6422eee5207f608cc /vendor/modernc.org/ccgo/v3/lib/ccgo.go | |
parent | rework media processing a little bit (#191) (diff) | |
download | gotosocial-71a4f8667c63c2ffbe58eee7b5e963d3e09a42de.tar.xz |
update sqlite library -> v1.13.0
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
Diffstat (limited to 'vendor/modernc.org/ccgo/v3/lib/ccgo.go')
-rw-r--r-- | vendor/modernc.org/ccgo/v3/lib/ccgo.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/vendor/modernc.org/ccgo/v3/lib/ccgo.go b/vendor/modernc.org/ccgo/v3/lib/ccgo.go index 65ccccc95..7865ab8f6 100644 --- a/vendor/modernc.org/ccgo/v3/lib/ccgo.go +++ b/vendor/modernc.org/ccgo/v3/lib/ccgo.go @@ -36,7 +36,7 @@ import ( ) const ( - Version = "3.9.2-20210323171250" + Version = "3.10.0-20210904132603" experimentsEnvVar = "CCGO_EXPERIMENT" maxSourceLine = 1 << 20 @@ -1213,7 +1213,7 @@ func (t *Task) createCompileDB(command []string) (rerr error) { var parser func(s string) ([]string, error) out: switch { - case t.goos == "darwin": + case t.goos == "darwin", t.goos == "freebsd": if command[0] != "make" { return fmt.Errorf("usupported build command: %s", command[0]) } @@ -1566,6 +1566,7 @@ func (w *cdbMakeWriter) Write(b []byte) (int, error) { w.fail(err) continue } + if len(args) == 0 { continue } @@ -1577,15 +1578,15 @@ func (w *cdbMakeWriter) Write(b []byte) (int, error) { err = nil switch args[0] { case w.cc: - fmt.Println(args) + fmt.Printf("CCGO CC: %q\n", args) err = w.handleGCC(args) case w.ar: if isCreateArchive(args[1]) { - fmt.Println(args) + fmt.Printf("CCGO AR: %q\n", args) err = w.handleAR(args) } case "libtool": - fmt.Println(args) + fmt.Printf("CCGO LIBTOOL: %q\n", args) err = w.handleLibtool(args) } if err != nil { |