public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icecream] epel10.2: Add lto plugin for -fuse-linker-plugin (patch from dtardon)
@ 2026-07-30 16:31 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-07-30 16:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/icecream
            Branch : epel10.2
            Commit : 399d21447c695aff89d2971d5dc4783c5cc1520e
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2011-05-03T20:16:17+02:00
            Stats  : +27/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/icecream/c/399d21447c695aff89d2971d5dc4783c5cc1520e?branch=epel10.2

            Log:
            Add lto plugin for -fuse-linker-plugin (patch from dtardon)
Fixes: BZ#675663

---
diff --git a/icecream-add-lto-plugin.patch b/icecream-add-lto-plugin.patch
new file mode 100644
index 0000000..2a9848a
--- /dev/null
+++ b/icecream-add-lto-plugin.patch
@@ -0,0 +1,20 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=675663
+From: David Tardon <dtardon@redhat.com>
+Sent to Stephan Kulow on 2011-05-03.
+
+diff -up icecc-0.9.6/client/icecc-create-env.dt icecc-0.9.6/client/icecc-create-env
+--- icecc-0.9.6/client/icecc-create-env.dt	2011-05-02 12:17:16.866765597 +0200
++++ icecc-0.9.6/client/icecc-create-env	2011-05-02 12:21:25.804553075 +0200
+@@ -118,6 +118,12 @@ if test -n "$specfile" && test "$specfil
+   add_file "$specfile"
+ fi
+ 
++plugin_name=liblto_plugin.so
++plugin=`$added_gcc -print-prog-name=$plugin_name`
++if test -n "$plugin" && test "$plugin" != "$plugin_name" && test -e "$plugin"; then
++  add_file "$plugin" "$plugin"
++fi
++
+ # for ldconfig -r to work, ld.so.conf must not contain relative paths
+ # in include directives. Make them absolute.
+ tmp_ld_so_conf=`mktemp /tmp/icecc_ld_so_confXXXXXX`

diff --git a/icecream.spec b/icecream.spec
index e2e19f7..46e8ef2 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -7,7 +7,7 @@
 
 Name:		icecream
 Version:	0.9.6
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Distributed compiler
 
 Group:		Development/Tools
@@ -25,6 +25,7 @@ Source7:	initscript-scheduler
 Source8:	%{name}-manpages.tar.bz2
 Patch0:		%{name}-rename-scheduler.patch
 Patch1:		%{name}-cleanup-conffile.patch
+Patch2:		%{name}-add-lto-plugin.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -72,6 +73,7 @@ This package contains development files for %{name}.
 %setup -q -a 8 -n icecc-%{version}
 %patch0 -p1
 %patch1 -p0
+%patch2 -p1
 sed -e 's|@LIBDIR@|%{_libdir}|g' %{SOURCE1} > icecream.sh
 sed -e 's|@LIBDIR@|%{_libdir}|g' %{SOURCE2} > icecream.csh
 mkdir SELinux
@@ -266,6 +268,10 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/icecc.pc
 
 %changelog
+* Tue May 03 2011 Michal Schmidt <mschmidt@redhat.com> - 0.9.6-4
+- Add lto plugin for -fuse-linker-plugin (patch from dtardon)
+- Fixes: BZ#675663
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-30 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 16:31 [rpms/icecream] epel10.2: Add lto plugin for -fuse-linker-plugin (patch from dtardon) Michal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox