aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-08-01 17:58:24 -0400
committerChristoph Hellwig <hch@lst.de>2011-08-02 11:51:40 +0200
commit1c728a7caae4fb65e976049a4a69bc03fda0cd4a (patch)
treec92a464abefa986f2e9479f1efdc66575eb92a5e
parent567076a35d56ba4552852ccc4f537f068b62b5e1 (diff)
downloadxfsdump-dev-1c728a7caae4fb65e976049a4a69bc03fda0cd4a.tar.gz
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>
-rw-r--r--include/builddefs.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/builddefs.in b/include/builddefs.in
index 9a494674..f69c038f 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -11,6 +11,7 @@ DEBUG = @debug_build@
OPTIMIZER = @opt_build@
MALLOCLIB = @malloc_lib@
LOADERFLAGS = @LDFLAGS@
+CFLAGS = @CFLAGS@
LIBRMT = $(TOPDIR)/librmt/librmt.la
LIBXFS = @libxfs@