diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-02-13 02:14:29 -0500 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2016-02-19 11:29:11 +0100 |
commit | f9970d99293faf908fdc153a653fa5781095fb7a (patch) | |
tree | d93d9810f2725fdd5866e3cf331813ba7b87da02 | |
parent | d7c8d3b43fef8641f4354edaa0429d157259bf56 (diff) | |
download | libtool-f9970d99293faf908fdc153a653fa5781095fb7a.tar.gz |
libtool: pass through -fuse-ld flags
Starting with gcc-4.8, there's a -fuse-ld flag that can be used to
select between bfd & gold. Make sure we pass it through to the
linking stage.
* build-aux/ltmain.in (func_mode_link): Pass -fuse-ld=* flags
through.
Copyright-paperwork-exempt: Yes
-rw-r--r-- | build-aux/ltmain.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 40eb0297..26015641 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5383,10 +5383,11 @@ func_mode_link () # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang # -fsanitize=* Clang/GCC memory and address sanitizer + # -fuse-ld=* Linker select flags for GCC -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=*| \ - -specs=*|-fsanitize=*) + -specs=*|-fsanitize=*|-fuse-ld=*) func_quote_arg pretty "$arg" arg=$func_quote_arg_result func_append compile_command " $arg" |