diff options
author | Neal Gompa <ngompa13@gmail.com> | 2016-03-16 18:13:31 -0400 |
---|---|---|
committer | Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com> | 2016-05-04 10:28:54 -0400 |
commit | e1a25ebffbaa6ec78994dccc90cdad3df5ce5a88 (patch) | |
tree | 5b87aa29acb8e6df087f61c1d4f7f6df0edc50c4 /build.macros.in | |
parent | 41e86abfd85387bfd187a88e8e49aba0d18c3a7e (diff) | |
download | rpm-setup-e1a25ebffbaa6ec78994dccc90cdad3df5ce5a88.tar rpm-setup-e1a25ebffbaa6ec78994dccc90cdad3df5ce5a88.tar.gz rpm-setup-e1a25ebffbaa6ec78994dccc90cdad3df5ce5a88.tar.bz2 rpm-setup-e1a25ebffbaa6ec78994dccc90cdad3df5ce5a88.tar.xz rpm-setup-e1a25ebffbaa6ec78994dccc90cdad3df5ce5a88.zip |
Delete redundant definition of %_smp_mflags
RPM supplies the exact same one in /usr/lib/rpm/platform/<arch>-linux/macros
Diffstat (limited to 'build.macros.in')
-rw-r--r-- | build.macros.in | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/build.macros.in b/build.macros.in index 7b0ed1b..f7348de 100644 --- a/build.macros.in +++ b/build.macros.in @@ -199,12 +199,6 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o # Maximum number of CPU's to use when building, 0 for unlimited. %_smp_ncpus_max 0 -%_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\ - && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\ - ncpus_max=%{?_smp_ncpus_max}; \\\ - if [ -n "$ncpus_max" ] && [ "$ncpus_max" -gt 0 ] && [ "$RPM_BUILD_NCPUS" -gt "$ncpus_max" ]; then RPM_BUILD_NCPUS="$ncpus_max"; fi; \\\ - [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS") - %make \ echo "warning: %%make is deprecated, try %%make_build instead" 1>&2\ |