[PATCH 5/6] Add tcc build stage

Rene Kita <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
Omit OpenBSD for now as it shows a build error. Could be a problem on
the committer level, though. ;-)

Also omit FreeBSD as the tcc is currently unmaintained there.
---
 .builds/alpine.yml | 8 ++++++++
 .builds/debian.yml | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/.builds/alpine.yml b/.builds/alpine.yml
index 06c61dbd..3b59fc63 100644
--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
@@ -10,6 +10,8 @@ packages:
 - ncurses-dev
 - openssl-dev
 - perl
+- tcc
+- tcc-libs-static
 sources:
 - https://git.sr.ht/~mutt/mutt
 tasks:
@@ -43,3 +45,9 @@ tasks:
         --with-sasl \
         --with-idn2
     make -j4 CFLAGS='-Wall -Werror'
+
+- tcc: |
+    cd mutt
+    autoreconf -if
+    CC=tcc ./configure
+    make -j4 CFLAGS='-Wall -Werror'
diff --git a/.builds/debian.yml b/.builds/debian.yml
index c4fa265d..83a3c87e 100644
--- a/.builds/debian.yml
+++ b/.builds/debian.yml
@@ -9,6 +9,7 @@ packages:
 - libncurses-dev
 - libsasl2-dev
 - libssl-dev
+- tcc
 sources:
 - https://git.sr.ht/~mutt/mutt
 tasks:
@@ -41,3 +42,9 @@ tasks:
         --with-ssl \
         --with-sasl
     make -j4 CFLAGS='-Wall -Werror'
+
+- tcc: |
+    cd mutt
+    autoreconf -if
+    CC=tcc ./configure
+    make -j4 CFLAGS='-Wall -Werror'
-- 
2.51.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.