From: Theodore Ts'o Date: Mon, 1 Aug 2011 21:58:24 +0000 (-0400) Subject: build using CFLAGS passed in at configure X-Git-Tag: v3.1.6~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c121166e00d299ea2aa81bc810877083ed8b755d;p=thirdparty%2Fxfsprogs-dev.git 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" Signed-off-by: Christoph Hellwig --- diff --git a/include/builddefs.in b/include/builddefs.in index 4c8ec645c..81ebfcdb9 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -25,6 +25,7 @@ OPTIMIZER = @opt_build@ MALLOCLIB = @malloc_lib@ LOADERFLAGS = @LDFLAGS@ LTLDFLAGS = @LDFLAGS@ +CFLAGS = @CFLAGS@ LIBRT = @librt@ LIBUUID = @libuuid@