Skip to content

Commit

Permalink
workaround missing cc in gdc-4.9.3 test download
Browse files Browse the repository at this point in the history
- b/c the picked up system-wide cc fails to link
  D programs against gdc-4.9.3's libstdc++
  • Loading branch information
MartinNowak committed Jan 3, 2016
1 parent 24140ae commit 8db0f99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions travis.sh
Expand Up @@ -2,6 +2,10 @@

set -exo pipefail

# add missing cc link in gdc-4.9.3 download
if [ $DC = gdc ] && [ ! -f $(dirname $(which gdc))/cc ]; then
ln -s gcc $(dirname $(which gdc))/cc
fi
N=2

git clone --depth=1 https://github.com/D-Programming-Language/druntime.git ../druntime
Expand Down

0 comments on commit 8db0f99

Please sign in to comment.