- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for extldflags (0.14 sec)
-
pkg/test/fakes/gce_metadata_server/Makefile
all: build_and_push clean build_and_push: cd $(MD_PATH) && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o main-amd64 -a -tags netgo -ldflags '-w -extldflags "-static"' main.go cd $(MD_PATH) && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o main-arm64 -a -tags netgo -ldflags '-w -extldflags "-static"' main.go docker buildx build --platform=linux/amd64,linux/arm64 $(MD_PATH) -t $(IMG):$(TAG) --push clean:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 1.3K bytes - Viewed (0) -
samples/tcp-echo/src/Dockerfile
# build a tcp-echo binary using the golang container FROM golang:1.22 as builder WORKDIR /go/src/istio.io/tcp-echo-server/ COPY main.go . RUN CGO_ENABLED=0 GOOS=linux go build -ldflags '-extldflags -static -s -w' -o tcp-echo main.go FROM scratch WORKDIR /bin/ COPY --from=builder /go/src/istio.io/tcp-echo-server/tcp-echo . ENTRYPOINT [ "/bin/tcp-echo" ] CMD [ "9000", "hello" ]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 16 22:03:02 UTC 2024 - 989 bytes - Viewed (0) -
src/cmd/link/doc.go
-dumpdep Dump symbol dependency graph. -extar ar Set the external archive program (default "ar"). Used only for -buildmode=c-archive. -extld linker Set the external linker (default "clang" or "gcc"). -extldflags flags Set space-separated flags to pass to the external linker. -f Ignore version mismatch in the linked archives. -g Disable Go package data checks. -importcfg file Read import configuration from file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:11:52 UTC 2024 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go
} // StartDefaultServerWithClients starts a test server and returns clients for it. func StartDefaultServerWithClients(t servertesting.Logger, extraFlags ...string) (func(), clientset.Interface, dynamic.Interface, error) { tearDown, config, _, err := StartDefaultServer(t, extraFlags...) if err != nil { return nil, nil, nil, err } apiExtensionsClient, err := clientset.NewForConfig(config) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
// use of lld, which ships with our clang installation. extraLDFlags := "" if strings.Contains(testenv.Builder(), "clang") { extraLDFlags += " -fuse-ld=lld" } const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option" cmd.Env = append(cmd.Environ(), "CGO_CFLAGS="+cflags, "CGO_CXXFLAGS="+cflags, "CGO_LDFLAGS="+cflags+extraLDFlags) } out, err := cmd.CombinedOutput() if string(out) != "OK\n" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:38:14 UTC 2024 - 4K bytes - Viewed (0)