distribution/packages/devel/libtool/patches/libtool-02-use_ld.patch

14 lines
685 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
index 23901ff..df26ab5 100644
--- a/build-aux/ltmain.sh
+++ b/build-aux/ltmain.sh
@@ -7250,7 +7250,7 @@ func_mode_link ()
# -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=*|-fuse-ld=*)
func_quote_for_eval "$arg"
arg=$func_quote_for_eval_result
func_append compile_command " $arg"