Skip to content

Commit c7c04f8

Browse files
author
Jorge Aparicio
committed
macOS: use gnu binutils
1 parent fda9784 commit c7c04f8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

ci/env.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
case $TRAVIS_OS_NAME in
22
linux)
33
export HOST=x86_64-unknown-linux-gnu
4+
export NM=nm
5+
export OBJDUMP=objdump
46
;;
57
osx)
68
export HOST=x86_64-apple-darwin
9+
export NM=gnm
10+
export OBJDUMP=gobjdump
711
;;
812
esac
913

ci/script.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ run_tests() {
1717
}
1818

1919
inspect() {
20-
${PREFIX}nm -g target/**/debug/*.rlib
20+
$PREFIX$NM -g --defined-only target/**/debug/*.rlib
2121
set +e
22-
${PREFIX}objdump -Cd target/**/debug/*.rlib
23-
${PREFIX}objdump -Cd target/**/release/*.rlib
22+
$PREFIX$OBJDUMP -Cd target/**/debug/*.rlib
23+
$PREFIX$OBJDUMP -Cd target/**/release/*.rlib
2424
set -e
2525
}
2626

0 commit comments

Comments
 (0)