- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 65 for CFLAGS (0.14 sec)
-
src/go/internal/srcimporter/srcimporter.go
args = append(args, bp.CgoCPPFLAGS...) if len(bp.CgoPkgConfig) > 0 { cmd := exec.Command("pkg-config", append([]string{"--cflags"}, bp.CgoPkgConfig...)...) out, err := cmd.Output() if err != nil { return nil, fmt.Errorf("pkg-config --cflags: %w", err) } args = append(args, strings.Fields(string(out))...) } args = append(args, "-I", tmpdir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy
then: def e = thrown WorkValidationException validateException(task, e, missingValueMessage { property('cCompiler').includeLink() }, missingValueMessage { property('CFlags').includeLink() }, missingValueMessage { property('dns').includeLink() }, missingValueMessage { property('URL').includeLink() }) } def propertyValidationJavaBeanSpecSingleChar() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 38.8K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build.go
} args[i] = arg } switch verb { case "CFLAGS", "CPPFLAGS", "CXXFLAGS", "FFLAGS", "LDFLAGS": // Change relative paths to absolute. ctxt.makePathsAbsolute(args, di.Dir) } switch verb { case "CFLAGS": di.CgoCFLAGS = append(di.CgoCFLAGS, args...) case "CPPFLAGS": di.CgoCPPFLAGS = append(di.CgoCPPFLAGS, args...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt
go build -ldflags=-tmpdir=tmp2 -o $devnull ./usesInternalCgo & # Third build: program uses only "runtime/cgo", so we would normally # expect internal linking, except that cflags contain suspicious entries # (in this case, a flag that does not appear on the allow list). env CGO_CFLAGS=-fmerge-all-constants env CGO_LDFLAGS=-fmerge-all-constants
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 18:16:01 UTC 2023 - 6.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
return c; } // issue 4857 #cgo CFLAGS: -Werror const struct { int a; } *issue4857() { return (void *)0; } // issue 5224 // Test that the #cgo CFLAGS directive works, // with and without platform filters. #cgo CFLAGS: -DCOMMON_VALUE=123 #cgo windows CFLAGS: -DIS_WINDOWS=1 #cgo !windows CFLAGS: -DIS_WINDOWS=0 int common = COMMON_VALUE; int is_windows = IS_WINDOWS;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
if found := re.Find(rest) != nil; !found { t.Fatalf("could not find runtime symbol in backtrace after signal handler:\n%s", rest) } } const coreCrashThreadSource = ` package main /* #cgo CFLAGS: -g -O0 #include <stdio.h> #include <stddef.h> void trigger_crash() { int* ptr = NULL; *ptr = 1024; } */ import "C" import ( "flag" "fmt" "os" "runtime/debug"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch
} else ++ep; + } UNLOCK; diff --git a/support/Makefile b/support/Makefile index a253698..2f4e2a9 100644 --- a/support/Makefile +++ b/support/Makefile @@ -167,13 +167,6 @@ CFLAGS-support_paths.c = \ -DINSTDIR_PATH=\"$(prefix)\" \ -DLIBDIR_PATH=\"$(libdir)\" -ifeq (,$(CXX)) -LINKS_DSO_PROGRAM = links-dso-program-c -else -LINKS_DSO_PROGRAM = links-dso-program
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 8.9K bytes - Viewed (0) -
src/cmd/cgo/doc.go
effect to systems satisfying one of the constraints (see https://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax). For example: // #cgo CFLAGS: -DPNG_DEBUG=1 // #cgo amd64 386 CFLAGS: -DX86=1 // #cgo LDFLAGS: -lpng // #include <png.h> import "C" Alternatively, CPPFLAGS and LDFLAGS may be obtained via the pkg-config tool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
src/go/build/build.go
} args[i] = arg } switch verb { case "CFLAGS", "CPPFLAGS", "CXXFLAGS", "FFLAGS", "LDFLAGS": // Change relative paths to absolute. ctxt.makePathsAbsolute(args, di.Dir) } switch verb { case "CFLAGS": di.CgoCFLAGS = append(di.CgoCFLAGS, args...) case "CPPFLAGS": di.CgoCPPFLAGS = append(di.CgoCPPFLAGS, args...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/go/internal/help/helpdoc.go
C code. CGO_CFLAGS_ALLOW A regular expression specifying additional flags to allow to appear in #cgo CFLAGS source code directives. Does not apply to the CGO_CFLAGS environment variable. CGO_CFLAGS_DISALLOW A regular expression specifying flags that must be disallowed from appearing in #cgo CFLAGS source code directives. Does not apply to the CGO_CFLAGS environment variable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 36.3K bytes - Viewed (0)