From: Pavel Raiskup Date: Fri, 18 Sep 2015 08:36:43 +0000 (+0200) Subject: libtool: fix GCC linking with -specs=* X-Git-Tag: v2.4.7~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=702a97fbb09bd7088a50f2b239016d1e32843c24;p=thirdparty%2Flibtool.git libtool: fix GCC linking with -specs=* References: https://bugzilla.redhat.com/show_bug.cgi?id=985592 * build-aux/ltmain.in (func_mode_link): Pass -specs=* to the linker, Fedora uses this option for hardening. Signed-off-by: Pavel Raiskup --- diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index d5cf07a63..0c40da06d 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5360,10 +5360,12 @@ func_mode_link () # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*) + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ + -specs=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg"