X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=GiNaC.spec.in;h=edd2baa0fae6f4beeee165443bdffa5a41f4bb7d;hp=094c3a6ee2820f184806f076abc18274023722a8;hb=f2e7d71e88a82d8f205ce8ca66f51665325585d7;hpb=d19b63317fc1751a6545290d6c68f4ba586fdb1e 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