From patchwork Mon Aug 1 21:58:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 107828 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BF86FB712A for ; Tue, 2 Aug 2011 07:58:30 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753145Ab1HAV63 (ORCPT ); Mon, 1 Aug 2011 17:58:29 -0400 Received: from li9-11.members.linode.com ([67.18.176.11]:59006 "EHLO test.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752243Ab1HAV62 (ORCPT ); Mon, 1 Aug 2011 17:58:28 -0400 Received: from root (helo=tytso-glaptop) by test.thunk.org with local-esmtp (Exim 4.69) (envelope-from ) id 1Qo0VF-0004N4-UH; Mon, 01 Aug 2011 21:58:25 +0000 Received: from tytso by tytso-glaptop with local (Exim 4.71) (envelope-from ) id 1Qo0VE-0005WH-Ke; Mon, 01 Aug 2011 17:58:24 -0400 From: Theodore Ts'o To: hch@infradead.org Cc: xfs@oss.sgi.com, Ext4 Developers List , Theodore Ts'o Subject: [PATCH] Build using CFLAGS passed in at configure Date: Mon, 1 Aug 2011 17:58:24 -0400 Message-Id: <1312235904-21187-1-git-send-email-tytso@mit.edu> X-Mailer: git-send-email 1.7.4.1.22.gec8e1.dirty In-Reply-To: <20110730165517.GA13918@infradead.org> References: <20110730165517.GA13918@infradead.org> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on test.thunk.org); SAEximRunCond expanded to false Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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" --- include/builddefs.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/builddefs.in b/include/builddefs.in index 4c8ec64..81ebfcd 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@