From 9ce9813655095e02ff6d02531c5a1b18c8c9caed Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Tue, 10 Jan 2017 08:56:37 -0500 Subject: [PATCH] Fix crosscompile flags for Filebeat and Metricbeat (#3324) * Fix crosscompile flags for Filebeat and Metricbeat The quoting was wrong for the GOX_FLAGS variable in the Filebeat and Metricbeat makefiles. * Don't build darwin/arm --- filebeat/Makefile | 2 +- metricbeat/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filebeat/Makefile b/filebeat/Makefile index afce82109e3..d40a9de7363 100644 --- a/filebeat/Makefile +++ b/filebeat/Makefile @@ -4,7 +4,7 @@ BEATNAME?=filebeat BEAT_DESCRIPTION?=Filebeat sends log files to Logstash or directly to Elasticsearch. SYSTEM_TESTS=true TEST_ENVIRONMENT?=true -GOX_FLAGS='-arch=amd64 386 arm ppc64 ppc64le' +GOX_FLAGS=-arch="amd64 386 arm ppc64 ppc64le" -osarch="!darwin/arm" include ../libbeat/scripts/Makefile diff --git a/metricbeat/Makefile b/metricbeat/Makefile index e214e50bd2e..e154675b34a 100644 --- a/metricbeat/Makefile +++ b/metricbeat/Makefile @@ -14,7 +14,7 @@ CGO=true # Metricbeat can only be cross-compiled on platforms not requiring CGO. GOX_OS=solaris netbsd linux windows -GOX_FLAGS='-arch=amd64 386 arm ppc64 ppc64le' +GOX_FLAGS=-arch="amd64 386 arm ppc64 ppc64le" include ${ES_BEATS}/libbeat/scripts/Makefile