Skip to content

Commit 70a3f17

Browse files
author
Brian J. Cardiff
authored
Use clang-8 to build linux libgc and libcrystal (#57)
1 parent 83a0b73 commit 70a3f17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

linux/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ FROM ${debian_image} AS debian
44

55
RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list \
66
&& apt-get update \
7-
&& apt-get install -y -t buster-backports build-essential libevent-dev libpcre3-dev automake libtool pkg-config git curl llvm-8 \
7+
&& apt-get install -y -t buster-backports build-essential libevent-dev libpcre3-dev automake libtool pkg-config git curl llvm-8 clang-8 \
88
&& (pkg-config || true)
99

1010
ARG release
1111
ENV CFLAGS="-fPIC -pipe ${release:+-O2}"
12+
ENV CC="clang-8"
1213

1314
# Build libgc
1415
ARG gc_version

0 commit comments

Comments
 (0)