mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
xfsprogs: Fix compilation with newer glibc.
This commit is contained in:
@@ -77,6 +77,9 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && sed -i "/include/a #include <sys\/stat.h>" \
|
||||
libxfs/xfs_ialloc.c quota/quot.c mdrestore/xfs_mdrestore.c \
|
||||
rtcp/xfs_rtcp.c
|
||||
cd $(DIR_APP) && make DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root \
|
||||
LOCAL_CONFIGURE_OPTIONS="--enable-readline=yes"
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
Reference in New Issue
Block a user