git://www.ginac.de
/
ginac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19b633
)
- RPM_OPT_FLAGS are used for compiling
author
Christian Bauer
<Christian.Bauer@uni-mainz.de>
Sat, 27 Nov 1999 17:52:06 +0000
(17:52 +0000)
committer
Christian Bauer
<Christian.Bauer@uni-mainz.de>
Sat, 27 Nov 1999 17:52:06 +0000
(17:52 +0000)
- added "-k -j $SMP" to the make command line when SMP is available
GiNaC.spec.in
patch
|
blob
|
history
diff --git
a/GiNaC.spec.in
b/GiNaC.spec.in
index 094c3a6ee2820f184806f076abc18274023722a8..edd2baa0fae6f4beeee165443bdffa5a41f4bb7d 100644
(file)
--- 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