diff options
author | jbj <devnull@localhost> | 2001-07-11 14:23:01 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-07-11 14:23:01 +0000 |
commit | 81de17180f1b870e2bc4ade50814f46ae9d6bf9d (patch) | |
tree | 80b99c238700715d433899749829f1f9e1d60803 /platform.in | |
parent | be9867aa181d83f73cdc9e2acc5f790c4cfc8637 (diff) | |
download | librpm-tizen-81de17180f1b870e2bc4ade50814f46ae9d6bf9d.tar.gz librpm-tizen-81de17180f1b870e2bc4ade50814f46ae9d6bf9d.tar.bz2 librpm-tizen-81de17180f1b870e2bc4ade50814f46ae9d6bf9d.zip |
- fix: adjust arg count for --POPTdesc/--POPTargs deletion.
- add linux per-platform macro %_smp_mflags <sopwith@redhat.com>.
- document more popt aliases for --help usage.
- remove --tarbuild from man page(s), use -t[abpcils] instead (#48666).
CVS patchset: 4936
CVS date: 2001/07/11 14:23:01
Diffstat (limited to 'platform.in')
-rw-r--r-- | platform.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform.in b/platform.in index 7f38d2f74..31bf5c66d 100644 --- a/platform.in +++ b/platform.in @@ -72,6 +72,10 @@ infodir=%{?buildroot:%{buildroot}}%{_infodir} \\\ install +%_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \ + && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \ + [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j${RPM_BUILD_NCPUS}") + @MULTILIBSTART@ #--------------------------------------------------------------------- # Multilibs |