Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ldflag (0.3 sec)

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

    			// -static -pie doesn't make sense, and causes link errors.
    			// Issue 26197.
    			n := make([]string, 0, len(ldflags)-1)
    			for _, flag := range ldflags {
    				if flag != "-static" {
    					n = append(n, flag)
    				}
    			}
    			ldflags = n
    		}
    	}
    	if err := b.gccld(a, objdir, dynobj, ldflags, linkobj); err != nil {
    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/go/internal/load/pkg.go

    		return "default PIE binary"
    	}
    
    	// Using -ldflags=-linkmode=external forces external linking.
    	// If there are multiple -linkmode options, the last one wins.
    	if p != nil {
    		ldflags := BuildLdflags.For(p)
    		for i := len(ldflags) - 1; i >= 0; i-- {
    			a := ldflags[i]
    			if a == "-linkmode=external" ||
    				a == "-linkmode" && i+1 < len(ldflags) && ldflags[i+1] == "external" {
    				return a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  3. api/go1.3.txt

    pkg syscall (freebsd-386), type Termios struct, Cc [20]uint8
    pkg syscall (freebsd-386), type Termios struct, Cflag uint32
    pkg syscall (freebsd-386), type Termios struct, Iflag uint32
    pkg syscall (freebsd-386), type Termios struct, Ispeed uint32
    pkg syscall (freebsd-386), type Termios struct, Lflag uint32
    pkg syscall (freebsd-386), type Termios struct, Oflag uint32
    pkg syscall (freebsd-386), type Termios struct, Ospeed uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  4. src/cmd/go/alldocs.go

    // the package.
    //
    // The -i flag causes clean to remove the corresponding installed
    // archive or binary (what 'go install' would create).
    //
    // The -n flag causes clean to print the remove commands it would execute,
    // but not run them.
    //
    // The -r flag causes clean to be applied recursively to all the
    // dependencies of the packages named by the import paths.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top