Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for ldflag (0.11 sec)

  1. src/cmd/link/internal/ld/lib.go

    }
    
    var (
    	dynlib          []string
    	ldflag          []string
    	havedynamic     int
    	Funcalign       int
    	iscgo           bool
    	elfglobalsymndx int
    	interpreter     string
    
    	debug_s bool // backup old value of debug['s']
    	HEADR   int32
    
    	nerrors  int
    	liveness int64 // size of liveness data (funcdata), printed if -v
    
    	// See -strictdups command line flag.
    	checkStrictDups   int // 0=off 1=warning 2=error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  2. cmd/kubemark/app/hollow_node.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package app
    
    import (
    	"context"
    	goflag "flag"
    	"fmt"
    	"time"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    	"go.opentelemetry.io/otel/trace/noop"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. Makefile

    	@echo "Building minio binary to './minio'"
    	@CGO_ENABLED=0 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null
    
    hotfix-vars:
    	$(eval LDFLAGS := $(shell MINIO_RELEASE="RELEASE" MINIO_HOTFIX="hotfix.$(shell git rev-parse --short HEAD)" go run buildscripts/gen-ldflags.go $(shell git describe --tags --abbrev=0 | \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cgo_long_cmd.txt

    # Issue #66456
    
    [!cgo] skip
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    # Generate a file with a very long #cgo LDFLAGS line.
    # This used to cause "go build" to fail with "argument list too long".
    go generate
    
    # Build with the generated file.
    go build
    
    -- go.mod --
    module cgolongcmd
    
    go 1.22
    -- generate.go --
    //go:build ignore
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"bytes"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 782 bytes
    - Viewed (0)
  5. src/syscall/fs_wasip1.go

    	case O_RDWR:
    		rights = fileRights
    	}
    
    	var fdflags fdflags
    	if (openmode & O_APPEND) != 0 {
    		fdflags |= FDFLAG_APPEND
    	}
    	if (openmode & O_SYNC) != 0 {
    		fdflags |= FDFLAG_SYNC
    	}
    
    	var fd int32
    	errno := path_open(
    		dirFd,
    		LOOKUP_SYMLINK_FOLLOW,
    		pathPtr,
    		pathLen,
    		oflags,
    		rights,
    		fileRights,
    		fdflags,
    		unsafe.Pointer(&fd),
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. Makefile.core.mk

    ${TARGET_OUT}/release/istioctl-linux-amd64:
    	GOOS=linux GOARCH=amd64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    ${TARGET_OUT}/release/istioctl-linux-armv7:
    	GOOS=linux GOARCH=arm GOARM=7 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    ${TARGET_OUT}/release/istioctl-linux-arm64:
    	GOOS=linux GOARCH=arm64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. .github/workflows/go-lint.yml

              CGO_ENABLED: 0
              GO111MODULE: on
            run: |
              Set-MpPreference -DisableRealtimeMonitoring $true
              netsh int ipv4 set dynamicport tcp start=60000 num=61000
              go build --ldflags="-s -w" -o %GOPATH%\bin\minio.exe
              go test -v --timeout 120m ./...
          - name: Build on ${{ matrix.os }}
            if: matrix.os == 'ubuntu-latest'
            env:
              CGO_ENABLED: 0
              GO111MODULE: on
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 22:29:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/link/link_test.go

    		t.Fatal(err)
    	}
    
    	// Link with -v -linkmode=external to see the flags we pass to the
    	// external linker.
    	ldflags := "-ldflags=-v -linkmode=external -tmpdir=" + linktmp
    	var out0 []byte
    	for i := 0; i < 5; i++ {
    		cmd := testenv.Command(t, testenv.GoToolPath(t), "build", ldflags, "-o", exe, src)
    		out, err := cmd.CombinedOutput()
    		if err != nil {
    			t.Fatalf("build failed: %v, output:\n%s", err, out)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  9. src/cmd/dist/test.go

    			gt.buildmode = ""
    			if linkmode == "external" {
    				ldflags = append(ldflags, `-extldflags "-static -pthread"`)
    			} else if linkmode == "auto" {
    				gt.env = append(gt.env, "CGO_LDFLAGS=-static -pthread")
    			} else {
    				panic("unknown linkmode with static build: " + linkmode)
    			}
    			gt.tags = append(gt.tags, "static")
    		}
    		gt.ldflags = strings.Join(ldflags, " ")
    
    		t.registerTest(heading, gt, opts...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/kubeadm.go

    		switch f.Name {
    		case "v", "add_dir_header", "skip_headers":
    			flag.CommandLine.Var(f.Value, f.Name, f.Usage)
    		}
    	})
    
    	pflag.CommandLine.SetNormalizeFunc(cliflag.WordSepNormalizeFunc)
    	pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
    
    	cmd := cmd.NewKubeadmCommand(os.Stdin, os.Stdout, os.Stderr)
    	return cmd.Execute()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 04:38:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top