From: Theodore Ts'o Date: Sat, 19 Jul 2008 01:05:30 +0000 (-0400) Subject: Fix cross compilation issues in e2fsck/gen_crc32table X-Git-Tag: v1.41.1~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3467f2db22fb5893ddca11da2a81b1fafa5505c4;p=thirdparty%2Fe2fsprogs.git Fix cross compilation issues in e2fsck/gen_crc32table The Makefile should use BUILD_CFLAGS instead of ALL_CFLAGS since it will be built for the host, not the target. Addresses-Sourceforge-Bug: #2019287 Signed-off-by: "Theodore Ts'o" --- diff --git a/e2fsck/Makefile.in b/e2fsck/Makefile.in index a65417522..7006b62ca 100644 --- a/e2fsck/Makefile.in +++ b/e2fsck/Makefile.in @@ -129,7 +129,7 @@ e2fsck.profiled: $(PROFILED_OBJS) $(PROFILED_DEPLIBS) gen_crc32table: $(srcdir)/gen_crc32table.c @echo " CC $@" - @$(BUILD_CC) $(ALL_CFLAGS) -o gen_crc32table \ + @$(BUILD_CC) $(BUILD_CFLAGS) -o gen_crc32table \ $(srcdir)/gen_crc32table.c crc32table.h: gen_crc32table