SHA256
1
0
forked from pool/ignition
ignition/0003-fix-i386-build.patch
Ignaz Forster b875a04b84 Add upstream bug references and patch information
- 0001-fix-install-permissions.patch: Fix permissions of installed files
- 0003-fix-i386-build.patch: Fix build on 32 Bit x86 machines

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=52
2020-08-10 14:49:47 +00:00

22 lines
523 B
Diff

commit f9196c3e0c7b03bedfedeb981987e976f3c59aea
Author: Ignaz Forster <iforster@suse.com>
Date: Mon Aug 10 15:33:18 2020 +0200
References: (gh#coreos/ignition#1069)
Upstream: Submitted
Add support for building on 32 bit x86 archticture
diff --git a/Makefile b/Makefile
index 35b0deda..d80e0870 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@ ifeq ($(GOARCH),x86_64)
GOARCH=amd64
else ifeq ($(GOARCH),aarch64)
GOARCH=arm64
+else ifeq ($(patsubst i%86,386,$(GOARCH)),386)
+ GOARCH=386
endif
.PHONY: all