]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
build using CFLAGS passed in at configure
authorTheodore Ts'o <tytso@mit.edu>
Mon, 1 Aug 2011 21:58:24 +0000 (17:58 -0400)
committerChristoph Hellwig <hch@lst.de>
Tue, 2 Aug 2011 09:50:54 +0000 (11:50 +0200)
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>
include/builddefs.in

index 4c8ec645cb2d0d7ada00e35bcec1e658a7b64cd8..81ebfcdb9a1d7315107da088ccdca2ecf039c2c8 100644 (file)
@@ -25,6 +25,7 @@ OPTIMIZER = @opt_build@
 MALLOCLIB = @malloc_lib@
 LOADERFLAGS = @LDFLAGS@
 LTLDFLAGS = @LDFLAGS@
+CFLAGS = @CFLAGS@
 
 LIBRT = @librt@
 LIBUUID = @libuuid@