branch: development
commit 9e33aadb8f249e84fc42374814ef6f40e31278fa
Author: Arnold <[email protected]>
AuthorDate: Mon Aug 11 14:49:51 2025 +0300
libtool.m4: Add support for slimcc
Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79216
---
m4/libtool.m4 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 495bd10b..7f92e5e4 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)