Skip to content

Commit 9045d74

Browse files
committed
Try update-alternatives ld
1 parent cc3be39 commit 9045d74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ before_install:
103103
- export PATH=/opt/cabal/1.24/bin:$PATH
104104
- export PATH=/opt/happy/1.19.5/bin:$PATH
105105
- export PATH=/opt/alex/3.1.7/bin:$PATH
106+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20; fi
107+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10; fi
108+
- ld --version
106109
- ./travis-install.sh
107110

108111
install:

0 commit comments

Comments
 (0)