From a0774155baeacdb991096023b1f922a0804c7865 Mon Sep 17 00:00:00 2001 From: thetweak Date: Tue, 18 May 2021 19:52:53 +0300 Subject: [PATCH] Removed special cases for ARM build in Makefile fixes #1404 --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index dc459497e..8677f89bd 100644 --- a/Makefile +++ b/Makefile @@ -53,15 +53,8 @@ define make-xc-target @printf "%s%20s %s\n" "-->" "${1}/${2}:" "${PROJECT} (excluded)" else @printf "%s%20s %s\n" "-->" "${1}/${2}:" "${PROJECT}" - case "$2" in \ - arm) export CGO_ENABLED="1" ; \ - export GOARM=6 \ - export CC="arm-linux-gnueabihf-gcc" ;; \ - arm64) export CGO_ENABLED="1" ; \ - export CC="aarch64-linux-gnu-gcc" ;; \ - *) export CGO_ENABLED="0" ;; \ - esac ; \ env \ + CGO_ENABLED="0" \ GOOS="${1}" \ GOARCH="${2}" \ go build \