From 5e712b221eee840646ad8cafe95d089862a5ca4f Mon Sep 17 00:00:00 2001 From: morganamilo Date: Thu, 10 May 2018 20:56:12 +0100 Subject: [PATCH] Add missing --ignorearch arg to makepkg call --- install.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install.go b/install.go index 21cc90b6..2188afe2 100644 --- a/install.go +++ b/install.go @@ -596,8 +596,14 @@ func buildInstallPkgBuilds(pkgs []*rpc.Pkg, srcinfos map[string]*gopkg.PKGBUILD, srcinfo := srcinfos[pkg.PackageBase] + args := []string{"--nobuild", "-fCc"} + + if incompatible.get(pkg.PackageBase) { + args = append(args, "--ignorearch") + } + //pkgver bump - err := passToMakepkg(dir, "--nobuild", "-fCc") + err := passToMakepkg(dir, args...) if err != nil { return fmt.Errorf("Error making: %s", pkg.Name) }