macOS: use gnu binutils
This commit is contained in:
parent
fda97847bb
commit
c7c04f8c48
|
@ -1,9 +1,13 @@
|
|||
case $TRAVIS_OS_NAME in
|
||||
linux)
|
||||
export HOST=x86_64-unknown-linux-gnu
|
||||
export NM=nm
|
||||
export OBJDUMP=objdump
|
||||
;;
|
||||
osx)
|
||||
export HOST=x86_64-apple-darwin
|
||||
export NM=gnm
|
||||
export OBJDUMP=gobjdump
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -17,10 +17,10 @@ run_tests() {
|
|||
}
|
||||
|
||||
inspect() {
|
||||
${PREFIX}nm -g target/**/debug/*.rlib
|
||||
$PREFIX$NM -g --defined-only target/**/debug/*.rlib
|
||||
set +e
|
||||
${PREFIX}objdump -Cd target/**/debug/*.rlib
|
||||
${PREFIX}objdump -Cd target/**/release/*.rlib
|
||||
$PREFIX$OBJDUMP -Cd target/**/debug/*.rlib
|
||||
$PREFIX$OBJDUMP -Cd target/**/release/*.rlib
|
||||
set -e
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue