Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,189 for cflags (0.17 sec)

  1. src/cmd/cgo/internal/swig/swig_test.go

    	runArgs := append([]string{"run", "."}, args...)
    	cmd := exec.Command("go", runArgs...)
    	cmd.Dir = dir
    	if lto {
    		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)
    	}
    	out, err := cmd.CombinedOutput()
    	if string(out) != "OK\n" {
    		t.Errorf("%s", string(out))
    	}
    	if err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue20266.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 20266: use -I with a relative path.
    
    package cgotest
    
    /*
    #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266
    #include "issue20266.h"
    */
    import "C"
    
    import "testing"
    
    func test20266(t *testing.T) {
    	if got, want := C.issue20266, 20266; got != want {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 463 bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    CGO_LDFLAGS environment variables are added to the flags derived from
    these directives. Package-specific flags should be set using the
    directives, not the environment variables, so that builds work in
    unmodified environments. Flags obtained from environment variables
    are not subject to the security limitations described above.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue24161e2/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin
    
    package issue24161e2
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (1)
  5. .github/ISSUE_TEMPLATE/00-bug.yml

            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue24161e1/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin
    
    package issue24161e1
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue24161e0/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin
    
    package issue24161e0
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 919 bytes
    - Viewed (0)
  8. lib/time/update.bash

    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
    tar xzf tzcode$CODE.tar.gz
    tar xzf tzdata$DATA.tar.gz
    
    if ! make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo posix_only >make.out 2>&1; then
    	cat make.out
    	exit 2
    fi
    
    cd zoneinfo
    ../mkzip ../../zoneinfo.zip
    cd ../..
    
    files="update.bash zoneinfo.zip"
    modified=true
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. 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
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    					f.NoEscapes[funcName] = true
    				}
    			}
    		}
    	}
    	f.Preamble = strings.Join(linesOut, "\n")
    }
    
    // addToFlag appends args to flag.
    func (p *Package) addToFlag(flag string, args []string) {
    	if flag == "CFLAGS" {
    		// We'll also need these when preprocessing for dwarf information.
    		// However, discard any -g options: we need to be able
    		// to parse the debug info, so stick to what we expect.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top