disable stack protector for 1.18 and 1.19

This commit is contained in:
Pavel 2022-08-05 18:03:18 +03:00
parent 3e135854ed
commit 4e5123f4bb
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ RUN set -eux; \
export GOARCH='arm64' GOOS='linux'; \
;; \
'x86') \
export GOARCH='386' GOOS='linux'; \
export GOARCH='386' GOOS='linux' CGO_CFLAGS="-fno-stack-protector"; \
;; \
'ppc64le') \
export GOARCH='ppc64le' GOOS='linux'; \

View File

@ -22,7 +22,7 @@ RUN set -eux; \
export GOARCH='arm64' GOOS='linux'; \
;; \
'x86') \
export GOARCH='386' GOOS='linux'; \
export GOARCH='386' GOOS='linux' CGO_CFLAGS="-fno-stack-protector"; \
;; \
'ppc64le') \
export GOARCH='ppc64le' GOOS='linux'; \