From 3113cd6236edc644b53de658d41aecada0b70443 Mon Sep 17 00:00:00 2001 From: Vincent Lefevre Date: Sat, 14 May 2022 01:23:42 +0800 Subject: [PATCH] Pass more flags to the linker unchanged. Closes: #751161. Last-Updated: 2019-05-03 Gbp-Pq: Name 0055-pass-flags-unchanged.patch --- build-aux/ltmain.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index fa13107..b0c8722 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5383,10 +5383,12 @@ func_mode_link () # -stdlib=* select c++ std lib with clang # -fsanitize=* Clang/GCC memory and address sanitizer # -fuse-ld=* Linker select flags for GCC + # -static-* direct GCC to link specific libraries statically + # -fcilkplus Cilk Plus language extension features for C/C++ -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=*|-fuse-ld=*) + -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg"