From 239ced844ea434e623686094af3de168f90e4391 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Thu, 13 Jun 2024 00:25:03 +0800 Subject: repos updated --- repos/extra/syslinux/abuild | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 repos/extra/syslinux/abuild (limited to 'repos/extra/syslinux/abuild') diff --git a/repos/extra/syslinux/abuild b/repos/extra/syslinux/abuild new file mode 100644 index 00000000..bd534632 --- /dev/null +++ b/repos/extra/syslinux/abuild @@ -0,0 +1,21 @@ +name=syslinux +version=6.03 +release=2 +source="http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz + $name-Makefile.patch + $name-sysmacros.patch + $name-fix-missing-stdio.patch" +skip_patch=1 +unset CFLAGS +unset CXXFLAGS + +build() { + patch -p0 -i $SRC/$name-Makefile.patch + patch -p1 -i $SRC/$name-sysmacros.patch + patch -p1 -i $SRC/$name-fix-missing-stdio.patch + + export LDFLAGS="$LDFLAGS --no-dynamic-linker" + + make OPTFLAGS="$CFLAGS -fcommon" installer + make -j1 OPTFLAGS="$CFLAGS -fcommon" INSTALLROOT=$PKG MANDIR=/usr/share/man install +} -- cgit v1.2.3