packages: gcc/gcc.spec - add -fuse-ld=bfd|gold support to gcc; rel 5

glen glen at pld-linux.org
Wed Oct 19 21:57:43 CEST 2011


Author: glen                         Date: Wed Oct 19 19:57:43 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add -fuse-ld=bfd|gold support to gcc; rel 5

---- Files affected:
packages/gcc:
   gcc.spec (1.666 -> 1.667) 

---- Diffs:

================================================================
Index: packages/gcc/gcc.spec
diff -u packages/gcc/gcc.spec:1.666 packages/gcc/gcc.spec:1.667
--- packages/gcc/gcc.spec:1.666	Sat Sep 17 09:14:07 2011
+++ packages/gcc/gcc.spec	Wed Oct 19 21:57:37 2011
@@ -73,7 +73,7 @@
 Summary(pt_BR.UTF-8):	Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
 Name:		gcc
 Version:	%{major_ver}.%{minor_ver}
-Release:	4
+Release:	5
 Epoch:		6
 License:	GPL v3+
 Group:		Development/Languages
@@ -96,6 +96,7 @@
 Patch10:	%{name}-moresparcs.patch
 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41757
 Patch12:	%{name}-plugin-decl-hook.patch
+Patch13:	issue4664051.patch
 URL:		http://gcc.gnu.org/
 BuildRequires:	autoconf
 %{?with_tests:BuildRequires:	autogen}
@@ -1343,12 +1344,13 @@
 %endif
 %patch10 -p1
 %patch12 -p1
+%patch13 -p0
 
 mv ChangeLog ChangeLog.general
 
 %if %{with java}
 # see contrib/download_ecj
-install %{SOURCE2} ecj.jar
+cp -p %{SOURCE2} ecj.jar
 %endif
 
 # override snapshot version.
@@ -1487,7 +1489,7 @@
 	infodir=%{_infodir} \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install gcc/specs $RPM_BUILD_ROOT%{gcclibdir}
+cp -p gcc/specs $RPM_BUILD_ROOT%{gcclibdir}
 
 %if %{with multilib}
 # create links
@@ -1640,7 +1642,7 @@
 
 %if %{with cxx}
 %find_lang libstdc\+\+
-install libstdc++-v3/include/precompiled/* $RPM_BUILD_ROOT%{_includedir}
+cp -p libstdc++-v3/include/precompiled/* $RPM_BUILD_ROOT%{_includedir}
 %endif
 
 # gdb stuff maybe?
@@ -1649,6 +1651,9 @@
 %{__rm} $RPM_BUILD_ROOT%{_libdir32}/*.py
 %endif
 
+# always -f, as "dir" is created depending which texlive version is installed
+%{__rm} -f $RPM_BUILD_ROOT%{_infodir}/dir
+
 # svn snap doesn't contain (release does) below files,
 # so let's create dummy entries to satisfy %%files.
 [ ! -f NEWS ] && touch NEWS
@@ -2415,6 +2420,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.667  2011/10/19 19:57:37  glen
+- add -fuse-ld=bfd|gold support to gcc; rel 5
+
 Revision 1.666  2011/09/17 07:14:07  arekm
 - rel 4; branch diff updated
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc.spec?r1=1.666&r2=1.667&f=u



More information about the pld-cvs-commit mailing list