xfsdump: add support for building with sparse Signed-off-by: Christoph Hellwig Index: xfs-cmds/xfsdump/include/buildmacros =================================================================== --- xfs-cmds.orig/xfsdump/include/buildmacros 2008-11-13 18:31:57.000000000 +0100 +++ xfs-cmds/xfsdump/include/buildmacros 2008-11-13 18:58:13.000000000 +0100 @@ -42,10 +42,10 @@ LIBNAME = $(basename $(LTLIBRARY)) LTOBJECTS = $(OBJECTS:.o=.lo) LTVERSION = $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -LTLINK = $(LIBTOOL) --mode=link $(CC) +LTLINK = $(LIBTOOL) --tag=CC --mode=link $(CC) LTEXEC = $(LIBTOOL) --mode=execute LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL) -LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF) +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CCF) ifeq ($(ENABLE_SHARED),yes) LTLDFLAGS += -rpath $(PKG_LIB_DIR)