We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cbaf318 + 923acb1 commit 29436faCopy full SHA for 29436fa
scripts/build_binaries.sh
@@ -49,7 +49,9 @@ platform_cgo_ldflags["linux-arm64"]="-static -s"
49
platform_cgo_ldflags["linux-amd64"]="-static -s"
50
platform_cgo_ldflags["darwin-arm64"]=""
51
platform_cgo_ldflags["darwin-amd64"]=""
52
-platform_cgo_ldflags["windows-amd64"]=""
+# Stack smash protection lib is built into clang for unix platforms,
53
+# but on Windows we need to pull in the separate ssp library
54
+platform_cgo_ldflags["windows-amd64"]="-lssp"
55
56
for tuple in $OS_ARCH_TUPLES; do
57
os=`echo $tuple | sed 's/-.*//'`
0 commit comments