]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Fix cross compilation issues in e2fsck/gen_crc32table
authorTheodore Ts'o <tytso@mit.edu>
Sat, 19 Jul 2008 01:05:30 +0000 (21:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 19 Jul 2008 01:05:30 +0000 (21:05 -0400)
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" <tytso@mit.edu>
e2fsck/Makefile.in

index a6541752211e2b1305fb24231bfc387d0a670bcb..7006b62ca6f61e05d9ca2f54a44507857d6f984c 100644 (file)
@@ -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