From: Prarit Bhargava on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2370#note_1319093091

>the spec template has
>
>```
>RHJOBS=$RPM_BUILD_NCPUS SPECPACKAGE_NAME=%{name} ./process_configs.sh $OPTS
%{specversion}
>```
>
>which looks like it should be ok 🤔

Yep, that'll be fine.  The issue isn't the define of RPM_BUILD_NCPUS, but
rather that _smp_mflags has been defined as the *STRING*
'-j${RPM_BUILD_NCPUS}'

Another way to look at this is

```
[prarit@prarit ~]$ echo '-j${RPM_BUILD_NCPUS}'
-j${RPM_BUILD_NCPUS}
[prarit@prarit ~]$ echo "-j${RPM_BUILD_NCPUS}"
-j
[prarit@prarit ~]$
```
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to