From: Reuben Thomas Date: Wed, 29 Oct 2014 18:59:07 +0000 (+0000) Subject: libtool: -rdynamic support for tcc. X-Git-Tag: v2.4.4~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1584d0d4985e3581f414a264ea90e720d60e17c;p=thirdparty%2Flibtool.git libtool: -rdynamic support for tcc. * m4/libtool.m4 (_LT_LINKER_SHLIBS) : Set export_dynamic_flag_spec appropriately when using tcc. Signed-off-by: Gary V. Vaughan --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index b3c061790..1c6166b4e 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -5015,6 +5015,9 @@ _LT_EOF fi case $cc_basename in + tcc*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' + ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'