Skip to content

Commit 517a8ff

Browse files
authored
Add CFLAGS to s390x build (#474)
Signed-off-by: Mateus Devino <mdevino@ibm.com>
1 parent d735fc9 commit 517a8ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.s390x

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ENV PATH="/root/.cargo/bin:${PATH}"
3636
RUN cd /tmp && \
3737
curl -L -O https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-s390_64.zip && \
3838
unzip protoc-*.zip -d /usr/local && rm protoc-*.zip
39-
ENV LIBCLANG_PATH=/usr/lib/llvm-14/lib/
39+
ENV LIBCLANG_PATH=/usr/lib64/
4040

4141
WORKDIR /app
4242

@@ -52,6 +52,7 @@ COPY tests/ /app/tests/
5252

5353
WORKDIR /app
5454

55+
ENV CFLAGS="-Wno-string-compare"
5556
# TODO: Make releases via cargo-release
5657
RUN cargo build --release
5758
# Copy test resources required for executing unit tests

0 commit comments

Comments
 (0)