Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CGO_CFLAGS (0.11 sec)

  1. src/cmd/go/go_test.go

    	tg.run("env", "GCCGO")
    	tg.grepStdout(".", "GCCGO unexpectedly empty")
    
    	tg.run("env", "CGO_CFLAGS")
    	tg.grepStdout(".", "default CGO_CFLAGS unexpectedly empty")
    
    	tg.setenv("CGO_CFLAGS", "-foobar")
    	tg.run("env", "CGO_CFLAGS")
    	tg.grepStdout("^-foobar$", "CGO_CFLAGS not honored")
    
    	tg.setenv("CC", "gcc -fmust -fgo -ffaster")
    	tg.run("env", "CC")
    	tg.grepStdout("gcc", "CC not found")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/cmd/dist/test.go

    			}
    		}
    
    	case os == "aix", os == "android", os == "dragonfly", os == "freebsd", os == "linux", os == "netbsd", os == "openbsd":
    		gt := cgoTest("external-g0", "test", "external", "")
    		gt.env = append(gt.env, "CGO_CFLAGS=-g0 -fdiagnostics-color")
    
    		cgoTest("external", "testtls", "external", "")
    		switch {
    		case os == "aix":
    			// no static linking
    		case p == "freebsd/arm":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    		"int __cgo__1 = __cgo__2;\n")
    
    	// We need to parse the output from this gcc command, so ensure that it
    	// doesn't have any ANSI escape sequences in it. (TERM=dumb is
    	// insufficient; if the user specifies CGO_CFLAGS=-fdiagnostics-color,
    	// GCC will ignore TERM, and GCC can also be configured at compile-time
    	// to ignore TERM.)
    	stderr := p.gccErrors(b.Bytes(), "-fdiagnostics-color=never")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top