Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 32 of 32 for CGO_CFLAGS (0.19 sec)

  1. src/cmd/cgo/gcc.go

    		"int __cgo__1 = __cgo__2;\n")
    
    	// We need to parse the output from this gcc command, so ensure that it
    	// doesn't have any ANSI escape sequences in it. (TERM=dumb is
    	// insufficient; if the user specifies CGO_CFLAGS=-fdiagnostics-color,
    	// GCC will ignore TERM, and GCC can also be configured at compile-time
    	// to ignore TERM.)
    	stderr := p.gccErrors(b.Bytes(), "-fdiagnostics-color=never")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    	//
    	// TODO(bcmills): perhaps we could at least parse the flags and stamp the
    	// subset of flags that are known not to be paths?
    	if cfg.BuildContext.CgoEnabled && !cfg.BuildTrimpath {
    		for _, name := range []string{"CGO_CFLAGS", "CGO_CPPFLAGS", "CGO_CXXFLAGS", "CGO_LDFLAGS"} {
    			appendSetting(name, cfg.Getenv(name))
    		}
    	}
    	appendSetting("GOARCH", cfg.BuildContext.GOARCH)
    	if cfg.RawGOEXPERIMENT != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top