]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool.m4: Add support for slimcc
authorArnold <arnold@skeeve.com>
Mon, 11 Aug 2025 11:49:51 +0000 (14:49 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Mon, 1 Dec 2025 20:30:53 +0000 (22:30 +0200)
Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79216

m4/libtool.m4

index 495bd10b88b4918433ddb2b47d14a2fb1356fcb7..7f92e5e4716ec83ae3ba5f33817f4b98730d5504 100644 (file)
@@ -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)