forked from Mirror/pmbootstrap
args.arch_native: remove (MR 2130)
Replace "args.arch_native" with the direct function call in order to avoid passing "args" to all functions. This is a step to get rid of this args-passed-to-all-functions pattern in pmbootstrap.
This commit is contained in:
parent
f2966e62ae
commit
caf7973e24
24 changed files with 57 additions and 64 deletions
|
@ -15,7 +15,7 @@ def generate(args, pkgname):
|
|||
fields = {
|
||||
"pkgname": pkgname,
|
||||
"pkgdesc": f"Tools necessary to build programs for {arch} targets",
|
||||
"arch": args.arch_native,
|
||||
"arch": pmb.config.arch_native,
|
||||
"makedepends_build": "",
|
||||
"makedepends_host": "",
|
||||
"makedepends": "gettext libtool autoconf automake bison texinfo",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue