- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for ldflag (0.11 sec)
-
src/cmd/go/testdata/script/darwin_lto_library_ldflag.txt
[!GOOS:darwin] skip [!cgo] skip ! go build stderr 'invalid flag in #cgo LDFLAGS: -lto_library' -- go.mod -- module ldflag -- main.go -- package main // #cgo CFLAGS: -flto // #cgo LDFLAGS: -lto_library bad.dylib import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:41:16 UTC 2024 - 241 bytes - Viewed (0) -
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) -
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) -
src/cmd/go/internal/work/gccgo.go
wholeArchive = nil noWholeArchive = nil } ldflags = append(ldflags, wholeArchive...) ldflags = append(ldflags, afiles...) ldflags = append(ldflags, noWholeArchive...) ldflags = append(ldflags, cgoldflags...) ldflags = append(ldflags, envList("CGO_LDFLAGS", "")...) if cfg.Goos != "aix" { ldflags = str.StringList("-Wl,-(", ldflags, "-Wl,-)") } if root.buildID != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
} else { compiler = envList("CC", cfg.DefaultCC(cfg.Goos, cfg.Goarch)) } ldflags = append(ldflags, "-buildmode="+ldBuildmode) if root.buildID != "" { ldflags = append(ldflags, "-buildid="+root.buildID) } ldflags = append(ldflags, forcedLdflags...) ldflags = append(ldflags, root.Package.Internal.Ldflags...) ldflags, err := setextld(ldflags, compiler) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
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) -
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) -
src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt
# -Os option. # # Verifies golang.org/issue/52366 for linux/ppc64le [!GOOS:linux] skip [!compiler:gc] skip [!cgo] skip [!GOARCH:ppc64le] skip go build -ldflags='-linkmode=internal' exec ./abitest stdout success go build -buildmode=pie -o abitest.pie -ldflags='-linkmode=internal' exec ./abitest.pie stdout success -- go.mod -- module abitest -- abitest.go -- package main /* #cgo CFLAGS: -Os
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 1K bytes - Viewed (0) -
hack/lib/version.sh
source "${version_file}" } # Prints the value that needs to be passed to the -ldflags parameter of go build # in order to set the Kubernetes based on the git tree status. # IMPORTANT: if you update any of these, also update the lists in # hack/print-workspace-status.sh. kube::version::ldflags() { kube::version::get_version_vars local -a ldflags function add_ldflag() { local key=${1} local val=${2}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 08:22:09 UTC 2024 - 7.1K bytes - Viewed (0) -
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)