* libltdl/config/ltmain.m4sh (func_mode_link): Remove "-Wc,"
instead of replacing it with "$wl" when linking programs
through the compiler driver, just as is the case when linking
libraries.
* NEWS: Update.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
+2009-09-04 Peter Rosin <peda@lysator.liu.se>
+
+ Make -Wc,FLAG behave like -Xcompiler FLAG in link mode.
+ * libltdl/config/ltmain.m4sh (func_mode_link): Remove "-Wc,"
+ instead of replacing it with "$wl" when linking programs
+ through the compiler driver, just as is the case when linking
+ libraries.
+ * NEWS: Update.
+
2009-08-23 Lennart Poettering <lennart@poettering.net> (tiny change)
Shut up prototype warnings with recent GCC and -Wstrict-prototypes.
extraction of convenience archives with a lock.
- The Libtool macro files do not contain instances of __oline__ any more,
easing merges for configure scripts that are added to version control.
+ - Fix ancient bug where "-Wc," was turned into "$wl" (typically "-Wl,")
+ when using the compiler driver to link programs. Now "-Wc," is stripped
+ just as it is when linking libraries through the compiler driver.
* Miscellaneous changes:
for flag in $args; do
IFS="$save_ifs"
func_quote_for_eval "$flag"
- arg="$arg $wl$func_quote_for_eval_result"
+ arg="$arg $func_quote_for_eval_result"
compiler_flags="$compiler_flags $func_quote_for_eval_result"
done
IFS="$save_ifs"