public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/icecream] epel8: Add lto plugin for -fuse-linker-plugin (patch from dtardon)
Date: Fri, 31 Jul 2026 06:33:50 GMT	[thread overview]
Message-ID: <178547963035.1.13792974493646419320.rpms-icecream-399d21447c69@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/icecream
            Branch : epel8
            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=epel8

            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
 

                 reply	other threads:[~2026-07-31  6:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178547963035.1.13792974493646419320.rpms-icecream-399d21447c69@fedoraproject.org \
    --to=mschmidt@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox