Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cCompilerEnv (0.14 sec)

  1. src/cmd/go/internal/work/exec.go

    		if bytes.HasPrefix(buf, magic) {
    			return true
    		}
    	}
    	return false
    }
    
    // cCompilerEnv returns environment variables to set when running the
    // C compiler. This is needed to disable escape codes in clang error
    // messages that confuse tools like cgo.
    func (b *Builder) cCompilerEnv() []string {
    	return []string{"TERM=dumb"}
    }
    
    // mkAbs returns an absolute path corresponding to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    	goexperiment = os.Getenv("GOEXPERIMENT")
    	// TODO(mdempsky): Validate known experiments?
    
    	gogcflags = os.Getenv("BOOT_GO_GCFLAGS")
    	goldflags = os.Getenv("BOOT_GO_LDFLAGS")
    
    	defaultcc = compilerEnv("CC", "")
    	defaultcxx = compilerEnv("CXX", "")
    
    	b = os.Getenv("PKG_CONFIG")
    	if b == "" {
    		b = "pkg-config"
    	}
    	defaultpkgconfig = b
    
    	defaultldso = os.Getenv("GO_LDSO")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top