SPECS (GCC_4_1): gcc.spec - stdc++.h packaged (useful for PCH users).

pluto pluto at pld-linux.org
Fri Dec 23 14:53:25 CET 2005


Author: pluto                        Date: Fri Dec 23 13:53:25 2005 GMT
Module: SPECS                         Tag: GCC_4_1
---- Log message:
- stdc++.h packaged (useful for PCH users).

---- Files affected:
SPECS:
   gcc.spec (1.396.2.12 -> 1.396.2.13) 

---- Diffs:

================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.396.2.12 SPECS/gcc.spec:1.396.2.13
--- SPECS/gcc.spec:1.396.2.12	Wed Dec 21 23:11:57 2005
+++ SPECS/gcc.spec	Fri Dec 23 14:53:20 2005
@@ -955,7 +955,12 @@
 %find_lang gcc
 %find_lang cpplib
 cat cpplib.lang >> gcc.lang
-%{?with_cxx:%find_lang libstdc\+\+}
+
+%if %{with cxx}
+%find_lang libstdc\+\+
+rm -rf $RPM_BUILD_ROOT%{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
+install libstdc++-v3/include/stdc++.h $RPM_BUILD_ROOT%{_includedir}
+%endif
 
 # cvs snap doesn't contain (release does) below files,
 # so let's create dummy entries to satisfy %%files.
@@ -1158,6 +1163,7 @@
 %defattr(644,root,root,755)
 %doc libstdc++-v3/docs/html
 %dir %{_includedir}/c++
+%{_includedir}/stdc++.h
 %{_includedir}/c++/%{version}
 %if %{with java}
 %exclude %{_includedir}/c++/%{version}/java
@@ -1165,9 +1171,6 @@
 %exclude %{_includedir}/c++/%{version}/gcj
 %exclude %{_includedir}/c++/%{version}/gnu
 %endif
-%ifnarch sparc
-%exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
-%endif
 %if %{with multilib}
 %{_libdir32}/libstdc++.la
 %attr(755,root,root) %{_libdir32}/libstdc++.so
@@ -1362,6 +1365,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.396.2.13  2005/12/23 13:53:20  pluto
+- stdc++.h packaged (useful for PCH users).
+
 Revision 1.396.2.12  2005/12/21 22:11:57  pluto
 - updated to 4.1-20051221 rev.108917 (regression bugfixes).
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gcc.spec?r1=1.396.2.12&r2=1.396.2.13&f=u



More information about the pld-cvs-commit mailing list