eth0s/toolchain/08-m4

16 lines
298 B
Text
Raw Normal View History

name=m4
version=1.4.18
2021-04-18 08:19:42 +08:00
source="http://ftp.gnu.org/gnu/m4/m4-$version.tar.xz"
2018-12-01 00:12:45 +08:00
build() {
cd $name-$version
2018-12-01 00:12:45 +08:00
# fixes required by glibc-2.28
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
./configure --prefix=/tools
make
make install
}