]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.in (func_mode_link): Pass otherwise unrecognised +
authorAlbert Chin-A-Young <china@thewrittenword.com>
Sun, 5 Sep 2004 18:10:03 +0000 (18:10 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 5 Sep 2004 18:10:03 +0000 (18:10 +0000)
and - style switches to the compiler.
* NEWS: Updated.

ChangeLog
config/ltmain.in

index 4ffe3a497f376b56281dd9ccde8c3612178ec6c5..2bc45998e8df332300f6609d91104ab407b81b8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-05  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * config/ltmain.in (func_mode_link): Pass otherwise unrecognised +
+       and - style switches to the compiler.
+       * NEWS: Updated.
+
 2004-09-05  Gary V. Vaughan  <gary@gnu.org>
 
        * Makefile.am (libtool): Force libtool to be regenerated if
index b77a9446f649e6d0413350f4de9f0f3e57ee3c41..c179a3c1d9f030921cc42142981e158999279ce2 100644 (file)
@@ -2996,6 +2996,10 @@ func_mode_link ()
          arg="\"$arg\""
          ;;
        esac
+
+       if test -z "$prev"; then
+         compiler_flags="$compiler_flags $arg"
+       fi
        ;;
 
       *.$objext)