aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-01-02 18:40:56 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-01-02 18:40:56 +0800
commit3e0113fff4b83c2d398f5d5041ef8b3052c19819 (patch)
tree4068826b1115c7d0a398e0fab4380f82b6caee17 /.travis.yml
parent9c42a41ed81c0f138236b4ee6490a63092bea3fa (diff)
downloaddexon-3e0113fff4b83c2d398f5d5041ef8b3052c19819.tar
dexon-3e0113fff4b83c2d398f5d5041ef8b3052c19819.tar.gz
dexon-3e0113fff4b83c2d398f5d5041ef8b3052c19819.tar.bz2
dexon-3e0113fff4b83c2d398f5d5041ef8b3052c19819.tar.lz
dexon-3e0113fff4b83c2d398f5d5041ef8b3052c19819.tar.xz
dexon-3e0113fff4b83c2d398f5d5041ef8b3052c19819.tar.zst
dexon-3e0113fff4b83c2d398f5d5041ef8b3052c19819.zip
build: set CC through a command-line flag (#15784)
This avoids setting CC for the go run invocation, which fails on go1.10.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index cc1b185fc..bc296bf2f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -87,13 +87,13 @@ matrix:
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
- sudo ln -s /usr/include/asm-generic /usr/include/asm
- - GOARM=5 CC=arm-linux-gnueabi-gcc go run build/ci.go install -arch arm
+ - GOARM=5 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc
- GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- - GOARM=6 CC=arm-linux-gnueabi-gcc go run build/ci.go install -arch arm
+ - GOARM=6 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc
- GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- - GOARM=7 CC=arm-linux-gnueabihf-gcc go run build/ci.go install -arch arm
+ - GOARM=7 go run build/ci.go install -arch arm -cc arm-linux-gnueabihf-gcc
- GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- - CC=aarch64-linux-gnu-gcc go run build/ci.go install -arch arm64
+ - go run build/ci.go install -arch arm64 -cc aarch64-linux-gnu-gcc
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
# This builder does the Linux Azure MIPS xgo uploads