Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cgo (0.13 sec)

  1. common/scripts/gobuild.sh

    LDFLAGS=${LDFLAGS:--extldflags -static}
    GOBUILDFLAGS=${GOBUILDFLAGS:-""}
    # Split GOBUILDFLAGS by spaces into an array called GOBUILDFLAGS_ARRAY.
    IFS=' ' read -r -a GOBUILDFLAGS_ARRAY <<< "$GOBUILDFLAGS"
    
    GCFLAGS=${GCFLAGS:-}
    export CGO_ENABLED=${CGO_ENABLED:-0}
    
    if [[ "${STATIC}" !=  "1" ]];then
        LDFLAGS=""
    fi
    
    # gather buildinfo if not already provided
    # For a release build BUILDINFO should be produced
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Oct 21 14:08:46 GMT 2022
    - 2.4K bytes
    - Viewed (0)
Back to top