Skip to content

Commit

Permalink
releasing: Use -D__STDC_FORMAT_MACROS when building bazel on CentOS 6.
Browse files Browse the repository at this point in the history
See bazelbuild/bazel#12327

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
  • Loading branch information
mithro committed Nov 18, 2020
1 parent 807983a commit a377c15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion releasing/docker-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ RUN python3 --version
# Build bazel
RUN wget --no-verbose https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip
RUN unzip bazel-${BAZEL_VERSION}-dist.zip -d bazel-${BAZEL_VERSION}-dist
RUN cd bazel-${BAZEL_VERSION}-dist; ./compile.sh
RUN cd bazel-${BAZEL_VERSION}-dist; \\
EXTRA_BAZEL_ARGS="--copt=-D__STDC_FORMAT_MACROS --host_copt=-D__STDC_FORMAT_MACROS" ./compile.sh
RUN cp bazel-${BAZEL_VERSION}-dist/output/bazel /usr/local/bin
RUN bazel --version
Expand Down

0 comments on commit a377c15

Please sign in to comment.