ci: use gold linker for 2.0 runtime ABI

This commit is contained in:
Niels Grewe 2019-12-02 22:53:42 +01:00
parent a6dff54d45
commit 07d87a0c1b
No known key found for this signature in database
GPG key ID: 99779549298DB83E

View file

@ -41,6 +41,10 @@ before_install:
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-9 10 \
--slave /usr/bin/clang++ clang++ /usr/bin/clang++-9;
export PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/clang-7.0.0\/bin//');
if [ "$RUNTIME_VERSION" = "gnustep-2.0" ];
then
sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 10;
fi;
fi;
install: ./travis-deps.sh
before_script: >