Skip to content

Commit fb11e05

Browse files
committed
Add hotfix to make vitess compile under go 1.23
1 parent da6a40c commit fb11e05

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/build_version_flags.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/bash
22

33
# Copyright 2019 The Vitess Authors.
4-
#
4+
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
77
# You may obtain a copy of the License at
8-
#
8+
#
99
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
10+
#
1111
# Unless required by applicable law or agreed to in writing, software
1212
# distributed under the License is distributed on an "AS IS" BASIS,
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -31,4 +31,5 @@ echo "\
3131
-X 'vitess.io/vitess/go/vt/servenv.buildGitBranch=${BUILD_GIT_BRANCH:-$DEFAULT_BUILD_GIT_BRANCH}' \
3232
-X 'vitess.io/vitess/go/vt/servenv.buildTime=$(LC_ALL=C date)' \
3333
-X 'vitess.io/vitess/go/vt/servenv.jenkinsBuildNumberStr=${BUILD_NUMBER}' \
34+
-checklinkname=0
3435
"

0 commit comments

Comments
 (0)