[seahorse/f20-gnome-3-12] Drop the --as-needed chunk as it fails to apply

Richard Hughes rhughes at fedoraproject.org
Wed May 14 09:11:11 UTC 2014


commit 6980ebe19b3c1b59367ac994cfacd9f5d41ad85a
Author: Richard Hughes <richard at hughsie.com>
Date:   Wed May 14 10:10:16 2014 +0100

    Drop the --as-needed chunk as it fails to apply

 seahorse.spec |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/seahorse.spec b/seahorse.spec
index 73bc345..f14537e 100644
--- a/seahorse.spec
+++ b/seahorse.spec
@@ -61,10 +61,6 @@ operations.  It is a keyring manager.
 %build
 GNUPG=/usr/bin/gpg2 ; export GNUPG ; %configure
 
-# drop unneeded direct library deps with --as-needed
-# libtool doesn't make this easy, so we do it the hard way
-sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
 make %{?_smp_mflags}
 # cleanup permissions for files that go into debuginfo
 find . -type f -name "*.c" -exec chmod a-x {} ';'


More information about the scm-commits mailing list