mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Merge pull request #405 from Morganamilo/fix#404
Add missing --ignorearch arg to makepkg call
This commit is contained in:
commit
a634c2d167
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue