summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2008-01-10 08:38:39 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit0ffb390f4864ba36ddf3052ae6595d3a7b3245c7 (patch)
tree2e0541080fd0b952f55383eebe2167918dc436dc
parent06d4e31179aed70da01f636d2801fa847df26c3d (diff)
downloadperl-Math-Cephes-0ffb390f4864ba36ddf3052ae6595d3a7b3245c7.zip
perl-Math-Cephes-0ffb390f4864ba36ddf3052ae6595d3a7b3245c7.tar.gz
- add CC to %{__make}
grep OPTIMIZE= perl-* -l|xargs grep -c CC=|grep :0|cut -d: -f1|xargs sed -i -e '/%{__make} \\$/a\\tCC="%{__cc}" \\' Changed files: perl-Math-Cephes.spec -> 1.14
-rw-r--r--perl-Math-Cephes.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-Math-Cephes.spec b/perl-Math-Cephes.spec
index cfd7231..e08086d 100644
--- a/perl-Math-Cephes.spec
+++ b/perl-Math-Cephes.spec
@@ -37,6 +37,7 @@ matematycznej cephes autorstwa Stephena Moshiera.
INSTALLDIRS=vendor
%{__make} \
+ CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}