bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15554: [PATCH] libtool: accept GCC -specs=* flag


From: Pavel Raiskup
Subject: bug#15554: [PATCH] libtool: accept GCC -specs=* flag
Date: Mon, 7 Oct 2013 22:11:06 +0200

Original bug report: bugzilla.redhat.com/985592

* build-aux/ltmain.in (func_mode_link):  Pass -specs=* down to gcc
  without change.
---
 build-aux/ltmain.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index f22ac05..f22df91 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5290,9 +5290,10 @@ func_mode_link ()
       # --sysroot=*          for sysroot support
       # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time 
optimization
       # -stdlib=*            select c++ std lib with clang
+      # -specs=*             GCC specs files
       -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|-stdlib=*)
+      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*|-specs=*)
         func_quote_for_eval "$arg"
        arg=$func_quote_for_eval_result
         func_append compile_command " $arg"
-- 
1.8.3.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]