Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gccSupportsFlag (0.35 sec)

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

    func (b *Builder) gccNoPie(linker []string) string {
    	if b.gccSupportsFlag(linker, "-no-pie") {
    		return "-no-pie"
    	}
    	if b.gccSupportsFlag(linker, "-nopie") {
    		return "-nopie"
    	}
    	return ""
    }
    
    // gccSupportsFlag checks to see if the compiler supports a flag.
    func (b *Builder) gccSupportsFlag(compiler []string, flag string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top