[Rpm-maint] [rpm-software-management/rpm] Modified %{_smp_mflags} breaks find-debuginfo.sh (#630)
Miroslav Suchý
notifications at github.com
Thu Feb 14 15:40:23 UTC 2019
Well `--load-average` *is* valid smp macro.
I just *briefly* checked code of rpmbuild and it seems to me that `-l` is not actively used. So what about parsing `-l` and `--load-average` similarly as `-j` and `--jobs` and current `-l` rename to `--list` or `--filelist`?
Other option I see is to use:
```
-l)
lists[$nout]="${lists[$nout]} $2"
shift
;;
-l*)
n_jobs=${1#-j}
;;
```
It is a bit weird as it would overload `-l` or we can put there just no-op, so `-l*` will be ignored. It is still better than failing.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/630#issuecomment-463674344
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190214/0f657d01/attachment.html>
More information about the Rpm-maint
mailing list