Skip to content

Commit

Permalink
Fix crosscompile flags for Filebeat and Metricbeat (#3324)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
andrewkroh authored and tsg committed Jan 10, 2017
1 parent 4fcf6ee commit 9ce9813
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filebeat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion metricbeat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ce9813

Please sign in to comment.