packages/build: use makepkg --nodeps if package.nodeps is set...
This commit is contained in:
parent
71e33ab8e1
commit
2cff31973e
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ def build_package(
|
|||
else:
|
||||
logging.info(f'Host-compiling {package.path}')
|
||||
build_root = target_chroot
|
||||
makepkg_compile_opts += ['--syncdeps']
|
||||
makepkg_compile_opts += ['--nodeps' if package.nodeps else '--syncdeps']
|
||||
env = deepcopy(get_makepkg_env(arch))
|
||||
if foreign_arch and enable_crossdirect and package.name not in CROSSDIRECT_PKGS:
|
||||
env['PATH'] = f"/native/usr/lib/crossdirect/{arch}:{env['PATH']}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue