Create mount.static and use it for mounting the filesystems.
[fedora-riscv.git] / Makefile
index 530efbd..aa5bd8c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -502,7 +502,8 @@ stage3-chroot/usr/bin/mount: util-linux-$(UTIL_LINUX_VERSION).tar.xz
            --without-tinfo \
            --without-ncurses \
            --without-systemd \
-           --disable-makeinstall-chown
+           --disable-makeinstall-chown \
+           --enable-static-programs=mount
        cd util-linux-$(UTIL_LINUX_VERSION) && PATH=$(ROOT)/fixed-gcc:$$PATH make
        cd util-linux-$(UTIL_LINUX_VERSION) && PATH=$(ROOT)/fixed-gcc:$$PATH make install DESTDIR=$(ROOT)/stage3-chroot
        rm -f stage3-chroot/usr/lib64/*.la