From bea65d4041beda401e39a460d05442572f5a5fd0 Mon Sep 17 00:00:00 2001 From: Marco A L Barbosa Date: Mon, 4 Dec 2017 16:18:30 -0200 Subject: [PATCH] Add armv5te-unknown-linux-gnueabi to cross builder --- src/ci/docker/dist-various-1/Dockerfile | 7 ++++++- src/tools/build-manifest/src/main.rs | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ci/docker/dist-various-1/Dockerfile b/src/ci/docker/dist-various-1/Dockerfile index a616693311a2d..c6cb86ebd6170 100644 --- a/src/ci/docker/dist-various-1/Dockerfile +++ b/src/ci/docker/dist-various-1/Dockerfile @@ -46,15 +46,20 @@ ENV TARGETS=$TARGETS,mips-unknown-linux-musl ENV TARGETS=$TARGETS,mipsel-unknown-linux-musl ENV TARGETS=$TARGETS,arm-unknown-linux-musleabi ENV TARGETS=$TARGETS,arm-unknown-linux-musleabihf +ENV TARGETS=$TARGETS,armv5te-unknown-linux-gnueabi ENV TARGETS=$TARGETS,armv7-unknown-linux-musleabihf ENV TARGETS=$TARGETS,aarch64-unknown-linux-musl ENV TARGETS=$TARGETS,sparc64-unknown-linux-gnu ENV TARGETS=$TARGETS,x86_64-unknown-redox +# FIXME: remove armv5te vars after https://github.com/alexcrichton/cc-rs/issues/271 +# get fixed and cc update ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \ CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc \ CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \ - CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc + CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc \ + CC_armv5te_unknown_linux_gnueabi=arm-linux-gnueabi-gcc \ + CFLAGS_armv5te_unknown_linux_gnueabi="-march=armv5te -mfloat-abi=soft" # Suppress some warnings in the openwrt toolchains we downloaded ENV STAGING_DIR=/tmp diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index c4e696e176085..371bbd16a5e92 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -55,6 +55,7 @@ static TARGETS: &'static [&'static str] = &[ "arm-unknown-linux-gnueabihf", "arm-unknown-linux-musleabi", "arm-unknown-linux-musleabihf", + "armv5te-unknown-linux-gnueabi", "armv7-apple-ios", "armv7-linux-androideabi", "armv7-unknown-linux-gnueabihf",