Blame SOURCES/libtool-2.4.6-specs.patch

f621d0
From 702a97fbb09bd7088a50f2b239016d1e32843c24 Mon Sep 17 00:00:00 2001
f621d0
From: Pavel Raiskup <praiskup@redhat.com>
f621d0
Date: Fri, 18 Sep 2015 10:36:43 +0200
f621d0
Subject: libtool: fix GCC linking with -specs=*
f621d0
f621d0
References:
f621d0
https://bugzilla.redhat.com/show_bug.cgi?id=985592
f621d0
f621d0
* build-aux/ltmain.in (func_mode_link): Pass -specs=*
f621d0
to the linker, Fedora uses this option for hardening.
f621d0
f621d0
Signed-off-by: Pavel Raiskup <praiskup@redhat.com>
f621d0
---
f621d0
 build-aux/ltmain.in | 4 +++-
f621d0
 1 file changed, 3 insertions(+), 1 deletion(-)
f621d0
f621d0
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
f621d0
index d5cf07a..0c40da0 100644
f621d0
--- a/build-aux/ltmain.in
f621d0
+++ b/build-aux/ltmain.in
f621d0
@@ -5360,10 +5360,12 @@ func_mode_link ()
f621d0
       # -tp=*                Portland pgcc target processor selection
f621d0
       # --sysroot=*          for sysroot support
f621d0
       # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
f621d0
+      # -specs=*             GCC specs files
f621d0
       # -stdlib=*            select c++ std lib with clang
f621d0
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
f621d0
       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
f621d0
-      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
f621d0
+      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
f621d0
+      -specs=*)
f621d0
         func_quote_for_eval "$arg"
f621d0
 	arg=$func_quote_for_eval_result
f621d0
         func_append compile_command " $arg"
f621d0
-- 
f621d0
cgit v1.0-41-gc330
f621d0