SPECS: gcc.spec - reverted c++config.h splitting, it's already han...

qboosh qboosh at pld-linux.org
Sun Dec 31 19:25:16 CET 2006


Author: qboosh                       Date: Sun Dec 31 18:25:16 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- reverted c++config.h splitting, it's already handled by 32 subdir in C++ headers

---- Files affected:
SPECS:
   gcc.spec (1.447 -> 1.448) 

---- Diffs:

================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.447 SPECS/gcc.spec:1.448
--- SPECS/gcc.spec:1.447	Sun Dec 31 18:15:26 2006
+++ SPECS/gcc.spec	Sun Dec 31 19:25:10 2006
@@ -942,25 +942,6 @@
 	$RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcj
 %endif
 %endif
-
-# this file differ (at least sparc/sparc64)
-%if %{with cxx}
-spath=%{_target_platform}
-sfile=libstdc++-v3/include/%{_target_platform}/bits/c++config.h
-dpath=$RPM_BUILD_ROOT%{_includedir}/c++/%{version}/%{_target_platform}/bits
-if ! cmp $spath/$sfile $spath/32/$sfile > /dev/null ; then
-       cp -f $spath/$sfile $dpath/c++config64.h
-       cp -f $spath/32/$sfile $dpath/c++config32.h
-       cat > $dpath/c++config.h <<EOF
-#include <bits/wordsize.h>
-#if __WORDSIZE == 32
-#include <bits/c++config32.h>
-#else
-#include <bits/c++config64.h>
-#endif
-EOF
-fi
-%endif
 %endif
 
 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
@@ -1517,6 +1498,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.448  2006/12/31 18:25:10  qboosh
+- reverted c++config.h splitting, it's already handled by 32 subdir in C++ headers
+
 Revision 1.447  2006/12/31 17:15:26  qboosh
 - release .3
 
================================================================

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



More information about the pld-cvs-commit mailing list