[projects/template-specs] add perl c++ note
glen
glen at pld-linux.org
Tue Aug 28 23:19:10 CEST 2012
commit a297c688cac74d7b5b790e959ad8ed44ee84ddae
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Aug 23 12:02:08 2012 +0300
add perl c++ note
perl.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/perl.spec b/perl.spec
index 5a3a5ae..044b630 100644
--- a/perl.spec
+++ b/perl.spec
@@ -65,6 +65,12 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# CC="%{__cc}"
# OPTIMIZE="%{rpmcflags}"
+# for C++ programs, use also CC but specify __cxx:
+# NOTE: (this) Perl build system doesn't have CXX, but CC is used
+#%{__make} \
+# CC="%{__cxx}" \
+# OPTIMIZE="%{rpmcflags}"
+
%{?with_tests:%{__make} test}
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/a297c688cac74d7b5b790e959ad8ed44ee84ddae
More information about the pld-cvs-commit
mailing list