Lines Matching +full:- +full:pie
2 set -e -o pipefail
8 # position independent executable (PIE) for ASLR.
22 -ldflags | -ldflags=*) return 0 ;;
23 -linkmode | -linkmode=*) return 0 ;;
24 -buildmode | -buildmode=*) return 0 ;;
25 -installsuffix | -installsuffix=*) return 0 ;;
26 -extld | -extld=*) return 0 ;;
27 -extldflags | -extldflags=*) return 0 ;;
38 # Add "-buildmode=pie" to "go build|install|run|test" commands.
41 [[ "${GOOS}" == "android" ]] || pie_flags+=( "-buildmode=pie" )
47 pie_flags=( "$1" "$2" "-shared" )
52 pie_flags=( "$1" "$2" "-shared" )
54 [[ "${GOOS}" == "android" ]] || pie_flags+=( "-installsuffix=shared" )
58 pie_flags=( "$1" "$2" "-extld" "${CC}" "-buildmode=pie" )
60 [[ "${GOOS}" == "android" ]] || pie_flags+=( "-installsuffix=shared" )