aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/syslinux/build
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
commit46ca440e9d6cc606d9c3233021e32d24b25172cf (patch)
treeeeb573e47ac56498fbf74bda6d22fac47038ecab /repos/extra/syslinux/build
parent8c2e7bb570c11a51fdcecf7302af4058757d862c (diff)
downloadalicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.tar.gz
alicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.zip
added repos
Diffstat (limited to 'repos/extra/syslinux/build')
-rw-r--r--repos/extra/syslinux/build7
1 files changed, 7 insertions, 0 deletions
diff --git a/repos/extra/syslinux/build b/repos/extra/syslinux/build
new file mode 100644
index 00000000..27286396
--- /dev/null
+++ b/repos/extra/syslinux/build
@@ -0,0 +1,7 @@
+patch -p0 -i $SRC/$name-Makefile.patch
+patch -p1 -i $SRC/$name-sysmacros.patch
+
+export LDFLAGS="$LDFLAGS --no-dynamic-linker"
+
+make OPTFLAGS="$CFLAGS -fcommon" installer
+make -j1 OPTFLAGS="$CFLAGS -fcommon" INSTALLROOT=$PKG MANDIR=/usr/share/man install