Skip to content

Commit

Permalink
Fix Go build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Nov 23, 2023
1 parent add3b82 commit 79e0988
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ci/scripts/go_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ set -ex

source_dir=${1}/go

export GOFLAGS="${GOFLAGS} -gcflags=-d=checkptr"
# Need "all=" as per https://github.com/golang/go/issues/42131#issuecomment-713917379
export GOFLAGS="${GOFLAGS} -gcflags=all=-d=checkptr"

pushd ${source_dir}/arrow

Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/go_cgo_python_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set -ex

source_dir=${1}/go

export GOFLAGS="${GOFLAGS} -gcflags=-d=checkptr"
export GOFLAGS="${GOFLAGS} -gcflags=all=-d=checkptr"

pushd ${source_dir}/arrow/cdata/test

Expand Down

0 comments on commit 79e0988

Please sign in to comment.