From: Christian Bauer Date: Sat, 27 Nov 1999 17:52:06 +0000 (+0000) Subject: - RPM_OPT_FLAGS are used for compiling X-Git-Tag: release_0-5-0~113 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=f2e7d71e88a82d8f205ce8ca66f51665325585d7;ds=sidebyside - RPM_OPT_FLAGS are used for compiling - added "-k -j $SMP" to the make command line when SMP is available --- 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