summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.go
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-11-29 12:10:16 +0300
committerAndrei Belov <defan@nginx.com>2018-11-29 12:10:16 +0300
commit63d16aa5f6faf6c96188188c58b4a369ec4f3a4c (patch)
tree5881cf52236ea9f70f6e29068f2dc0270a89b957 /pkg/rpm/Makefile.go
parentdb631917190c44b3b55a15e4e5e88aa92e6b5334 (diff)
downloadunit-63d16aa5f6faf6c96188188c58b4a369ec4f3a4c.tar.gz
unit-63d16aa5f6faf6c96188188c58b4a369ec4f3a4c.tar.bz2
Packages: made unit-go architecture-dependent.
This closes #172 issue on GitHub.
Diffstat (limited to 'pkg/rpm/Makefile.go')
-rw-r--r--pkg/rpm/Makefile.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go
index 40ebf8fb..d13e8d1a 100644
--- a/pkg/rpm/Makefile.go
+++ b/pkg/rpm/Makefile.go
@@ -26,13 +26,11 @@ BUILD_DEPENDS+= $(BUILD_DEPENDS_go)
ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed))
define MODULE_DEFINITIONS_go
BuildRequires: $(BUILD_DEPENDS_go)
-BuildArch: noarch
%define gopath /usr/share/go/contrib
endef
else
define MODULE_DEFINITIONS_go
BuildRequires: $(BUILD_DEPENDS_go)
-BuildArch: noarch
endef
endif
export MODULE_DEFINITIONS_go