[PATCH] e2fsprogs: use ALL_CFLAGS to build gen_crc32ctable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With just BUILD_CFLAGS this we don't get the right include
paths (i.e. within the tree) to build the gen_crc32ctable binary.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

I think that the rule could probably be removed altogether, and
gen_crc32ctable.o would be built from gen_crc32ctable.c, and
the normal dependencies & rules would build gen_crc32ctable.
But this seems like the most obvious change.

diff --git a/lib/ext2fs/Makefile.in b/lib/ext2fs/Makefile.in
index 3de9f87..07a0db18 100644
--- a/lib/ext2fs/Makefile.in
+++ b/lib/ext2fs/Makefile.in
@@ -413,7 +413,7 @@ $(OBJS): subdirs
 
 gen_crc32ctable: $(srcdir)/gen_crc32ctable.c
 	$(E) "	CC $@"
-	$(Q) $(BUILD_CC) $(BUILD_CFLAGS) -o gen_crc32ctable \
+	$(Q) $(BUILD_CC) $(ALL_CFLAGS) -o gen_crc32ctable \
 		$(srcdir)/gen_crc32ctable.c
 
 crc32c_table.h: gen_crc32ctable

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux