From ec1b689c78828c905757705ff83ab7a1c09b0308 Mon Sep 17 00:00:00 2001 From: Albert Chin-A-Young Date: Sun, 5 Sep 2004 18:10:03 +0000 Subject: [PATCH] * config/ltmain.in (func_mode_link): Pass otherwise unrecognised + and - style switches to the compiler. * NEWS: Updated. --- ChangeLog | 6 ++++++ config/ltmain.in | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4ffe3a497..2bc45998e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-05 Albert Chin-A-Young + + * config/ltmain.in (func_mode_link): Pass otherwise unrecognised + + and - style switches to the compiler. + * NEWS: Updated. + 2004-09-05 Gary V. Vaughan * Makefile.am (libtool): Force libtool to be regenerated if diff --git a/config/ltmain.in b/config/ltmain.in index b77a9446f..c179a3c1d 100644 --- a/config/ltmain.in +++ b/config/ltmain.in @@ -2996,6 +2996,10 @@ func_mode_link () arg="\"$arg\"" ;; esac + + if test -z "$prev"; then + compiler_flags="$compiler_flags $arg" + fi ;; *.$objext) -- 2.47.2