From 7ac6124076d7b88270bee12bd8dcfa9381ed37ac Mon Sep 17 00:00:00 2001 From: martinrusev Date: Fri, 17 Feb 2017 13:43:30 +0100 Subject: [PATCH] Update makefile --- .gitignore | 1 + CHANGELOG.md | 7 +++++++ Makefile | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.gitignore b/.gitignore index 23e4917..81a5303 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ _testmain.go *.rpm amonagent amonagent32 +amonagent-arm packaging/build/ vendor/ .vagrant/ diff --git a/CHANGELOG.md b/CHANGELOG.md index fe2c9f7..46521ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +0.7.3 - 17.02.2017 +============== + +* Compile with go 1.8 +* ARM binary + + 0.7.2 - 26.08.2016 ============== diff --git a/Makefile b/Makefile index 025c972..306bf39 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,10 @@ build_32bit: "-X main.Version=$(VERSION)" \ ./cmd/amonagent.go +build_arm: + CGO_ENABLED=0 GOARCH=arm go build -o amonagent-arm -ldflags \ + "-X main.Version=$(VERSION)" \ + ./cmd/amonagent.go # Layout all of the files common to both versions of the Agent in # the build directory.