build using CFLAGS passed in at configure

In order to build xfsprogs in a hermetic build, we need be able to
pass in -I and -L flags to the compiler and linker, respectively.
This needs to be used by the configure script, but we also need to
make sure these flags are used by the Makefiles as well.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
diff --git a/include/builddefs.in b/include/builddefs.in
index 3247e0f..8e66415 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -11,6 +11,7 @@
 OPTIMIZER = @opt_build@
 MALLOCLIB = @malloc_lib@
 LOADERFLAGS = @LDFLAGS@
+CFLAGS = @CFLAGS@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@