Add re2c build

This commit is contained in:
crazywhalecc
2025-07-31 00:55:25 +08:00
parent 6984c29a3a
commit 3c972ac905
6 changed files with 60 additions and 2 deletions

View File

@@ -129,8 +129,8 @@ RUN curl -o automake.tgz -fsSL https://ftp.gnu.org/gnu/automake/automake-1.17.ta
make install && \
ln -sf /usr/local/bin/automake /usr/bin/automake
RUN curl -o re2c.rpm https://archives.fedoraproject.org/pub/archive/epel/7/$SPC_USE_ARCH/Packages/r/re2c-0.14.3-2.el7.$SPC_USE_ARCH.rpm && \
rpm -Uvh re2c.rpm
RUN bin/spc download re2c && \
bin/spc build:libs re2c
EOF
fi