Whamcloud - gitweb
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 a654175..7006b62 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