From: Arnold Date: Mon, 11 Aug 2025 11:49:51 +0000 (+0300) Subject: libtool.m4: Add support for slimcc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e33aadb8f249e84fc42374814ef6f40e31278fa;p=thirdparty%2Flibtool.git libtool.m4: Add support for slimcc Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79216 --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 495bd10b8..7f92e5e47 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -5000,6 +5000,12 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + slimcc*) + # Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project)