From e1a25ebffbaa6ec78994dccc90cdad3df5ce5a88 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 16 Mar 2016 18:13:31 -0400 Subject: Delete redundant definition of %_smp_mflags RPM supplies the exact same one in /usr/lib/rpm/platform/-linux/macros --- build.macros.in | 6 ------ 1 file changed, 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\ -- cgit v1.2.1