commit a297c688cac74d7b5b790e959ad8ed44ee84ddae
Author: Elan Ruusamäe <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to