From: phil Date: Sat, 20 Mar 2004 01:18:51 +0000 (+0000) Subject: - Fix objdir != srcdir build problem X-Git-Tag: 1.2.2~153 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=3dc9c6d34dcddf389cd4a99eb1cd9325af1b3e83;p=fs%2Flustre-release.git - Fix objdir != srcdir build problem - Remove unused variable from b_1414 --- diff --git a/lnet/utils/Makefile.am b/lnet/utils/Makefile.am index e871d9a..95b3474 100644 --- a/lnet/utils/Makefile.am +++ b/lnet/utils/Makefile.am @@ -3,8 +3,8 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -# ../ for , ../../ for -COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I$(srcdir)/../../include +# $(srcdir)/../ for , ../../ for generated +COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I../../include LINK = $(CC) -o $@ if LIBLUSTRE diff --git a/lustre/portals/utils/Makefile.am b/lustre/portals/utils/Makefile.am index e871d9a..95b3474 100644 --- a/lustre/portals/utils/Makefile.am +++ b/lustre/portals/utils/Makefile.am @@ -3,8 +3,8 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -# ../ for , ../../ for -COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I$(srcdir)/../../include +# $(srcdir)/../ for , ../../ for generated +COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I../../include LINK = $(CC) -o $@ if LIBLUSTRE diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 238001c..ab354af 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -86,7 +86,6 @@ static int lfs_setstripe(int argc, char **argv) long st_size; int st_offset, st_count; char *end; - struct stat statbuf; if (argc != 5) return CMD_HELP;