]> git.ipfire.org Git - thirdparty/libtool.git/commit
Save and restore CFLAGS properly inside libtool.m4 macros.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 29 Aug 2010 15:28:29 +0000 (17:28 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 29 Aug 2010 15:28:29 +0000 (17:28 +0200)
commitbf1d52eb53a6f8738105954f9e1e9533da091461
tree328315ae048c7cb9599747942e406832a3e02c74
parent957541fbe23db58feaf554a68a852c99839a19f3
Save and restore CFLAGS properly inside libtool.m4 macros.

* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Use different
temporary variables for saved and restored values of $LIBS,
$CFLAGS, to avoid overlap with the *_CONFIG macros.
(_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
(_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Also save and restore
$CFLAGS, and override it with per-language flags, so that in
case output_verbose_link_cmd uses $CFLAGS, the right flags are
used.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/m4/libtool.m4