Skip to content

Commit

Permalink
[servo] build with clang instead of gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
jankeromnes committed Dec 8, 2018
1 parent 9720db0 commit c84453b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions servo/servo.dockerfile
Expand Up @@ -40,14 +40,6 @@ RUN sudo apt-get update \
xpra \
&& sudo rm -rf /var/lib/apt/lists/*

# Sadly, Servo can't be built with Clang yet.
ENV CC gcc
ENV CXX g++
ENV HOST_CC gcc
ENV HOST_CXX g++
RUN sudo sed -i "s/CC=clang-[0-9.]\+/CC=gcc/" /etc/environment \
&& sudo sed -i "s/CXX=clang++-[0-9.]\+/CXX=g++/" /etc/environment

# Enable required Xvfb extensions for Servo.
# Source: https://github.com/servo/servo/issues/7512#issuecomment-216665988
RUN sudo sed -i "s/\(Xvfb :.*\)$/\1 +extension RANDR +extension RENDER +extension GLX/" /etc/supervisord.conf
Expand Down

0 comments on commit c84453b

Please sign in to comment.