From f2e7d71e88a82d8f205ce8ca66f51665325585d7 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Sat, 27 Nov 1999 17:52:06 +0000 Subject: [PATCH] - RPM_OPT_FLAGS are used for compiling - added "-k -j $SMP" to the make command line when SMP is available --- GiNaC.spec.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/GiNaC.spec.in b/GiNaC.spec.in index 094c3a6e..edd2baa0 100644 --- a/GiNaC.spec.in +++ b/GiNaC.spec.in @@ -28,8 +28,13 @@ numeric applications, graphical interfaces, etc.) under one roof. %setup %build -./configure --prefix=%prefix -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" +CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix +if [ "$SMP" != "" ]; then + (make "MAKE=make -k -j $SMP"; exit 0) + make +else + make +fi %install rm -rf $RPM_BUILD_ROOT -- 2.44.0