File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 11sudo : required
22dist : trusty
3+ language : generic
34services :
45 - docker
56
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ case $TARGET in
112112 ;;
113113 powerpc64-* -linux-* )
114114 OPENSSL_OS=linux-ppc64
115- OPENSSL_CC=powerpc64-linux-gnu-gcc-5
115+ OPENSSL_CC=powerpc64-linux-gnu-gcc
116116 OPENSSL_AR=powerpc64-linux-gnu-ar
117117 OPENSSL_CFLAGS=-m64
118118 ;;
@@ -202,4 +202,21 @@ export CARGO_TARGET_DIR=`pwd`/target
202202export CARGO_HOME=` pwd` /target/cargo-home
203203export CARGO_TARGET_${upper_target} _LINKER=$OPENSSL_CC
204204
205+ # Some targets have trouble finding the cross objcopy for building backtrace-sys.
206+ # Give them some help.
207+ case $TARGET in
208+ powerpc64-* -linux-* )
209+ OBJCOPY=powerpc64-linux-gnu-objcopy
210+ ;;
211+ mips-* -linux-* )
212+ OBJCOPY=mips-linux-gnu-objcopy
213+ ;;
214+ mipsel-* -linux-* )
215+ OBJCOPY=mipsel-linux-gnu-objcopy
216+ ;;
217+ x86_64-linux-android)
218+ OBJCOPY=x86_64-linux-android-objcopy
219+ ;;
220+ esac
221+
205222exec sh ci/run.sh
You can’t perform that action at this time.
0 commit comments