From c121166e00d299ea2aa81bc810877083ed8b755d Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 1 Aug 2011 17:58:24 -0400 Subject: [PATCH] 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 --- include/builddefs.in | 1 + 1 file changed, 1 insertion(+) 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@ -- 2.47.2