Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maybePIC (0.1 sec)

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

    	}
    	return b.Shell(a).run(p.Dir, p.ImportPath, nil, compiler, "-Wall", "-g",
    		"-I", a.Objdir, "-I", inc, "-o", ofile, defs, "-c", cfile)
    }
    
    // maybePIC adds -fPIC to the list of arguments if needed.
    func (tools gccgoToolchain) maybePIC(args []string) []string {
    	switch cfg.BuildBuildmode {
    	case "c-shared", "shared", "plugin":
    		args = append(args, "-fPIC")
    	}
    	return args
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top