1
0
Fork 0

attempt to use gold for linking

This commit is contained in:
Jan Steemann 2015-02-07 12:08:41 +01:00
parent acc354839d
commit e085af8b09
1 changed files with 9 additions and 0 deletions

View File

@ -41,6 +41,15 @@ install:
# gdb
- sudo apt-get -y install gdb
# prepare wrapper for gold
- sudo apt-get install binutils-gold
- mkdir -p ~/bin/gold
- echo '#!/bin/bash' > ~/bin/gold/ld
- echo 'gold "$@"' >> ~/bin/gold/ld
- chmod a+x ~/bin/gold/ld
- export CFLAGS="-B$HOME/bin/gold $CFLAGS"
- export CXXFLAGS="-B$HOME/bin/gold $CXXFLAGS"
before_script: "bash -c Installation/travisCI/before_script.sh"
script:
- "bash -c Installation/travisCI/build.sh"