diff --git a/.github/workflows/ubuntu-bazel.yaml b/.github/workflows/ubuntu-bazel.yaml index 43b2ac80a..9c0f42383 100644 --- a/.github/workflows/ubuntu-bazel.yaml +++ b/.github/workflows/ubuntu-bazel.yaml @@ -24,6 +24,8 @@ jobs: run: | sudo apt -y install clang llvm ./bazel/setup_clang.sh + echo 'build --linkopt="-z nostart-stop-gc"' >> "${GITHUB_WORKSPACE}/.bazelrc.local" + echo 'build --host_linkopt="-z nostart-stop-gc"' >> "${GITHUB_WORKSPACE}/.bazelrc.local" - name: Run tests run: | diff --git a/.gitignore b/.gitignore index 83042fe83..df1f778f3 100644 --- a/.gitignore +++ b/.gitignore @@ -102,5 +102,6 @@ Package.resolved Documentation clang.bazelrc +.bazelrc.local .index