From 0b051e7fae7896e816b7d3ca8172f25327f770d4 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Fri, 5 Aug 2016 12:14:48 +0200 Subject: [PATCH] Unset GOROOT and GOBIN in Makefile To avoid issues with existing environment variables while building Go sources the Makefile now removes existing GOROOT and GOBIN environment variables. This should fix issues like #324 where the environment already contains some sort of Go settings. --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 04bdce37..8a59d033 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,9 @@ AUTOMAKE_OPTIONS = -Wno-portability ACLOCAL_AMFLAGS = -I m4 +unexport GOROOT +unexport GOBIN + EXENAME := spreed-webrtc-server GOPKG := github.com/strukturag/spreed-webrtc GOPATH := "$(CURDIR)/vendor:$(CURDIR)"