From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUxi-0006xP-SC for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrUxZ-0006O2-22 for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:46 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:53934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUxY-0006N5-Rr for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:36 -0400 From: Peter Maydell Date: Wed, 18 Jul 2012 15:10:22 +0100 Message-Id: <1342620628-12751-6-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> References: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 05/11] configure: -march=i486 belongs in QEMU_CFLAGS, not CFLAGS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil , patches@linaro.org The distinction between QEMU_CFLAGS and CFLAGS is that the former is for flags without which QEMU can't compile, whereas the latter is for flags like "-g -O2" which the user can safely override. "-march=i486" is in the former category, and so belongs in QEMU_CFLAGS. Signed-off-by: Peter Maydell --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index f54415d..3de4ea7 100755 --- a/configure +++ b/configure @@ -2810,7 +2810,7 @@ int main(int argc, char **argv) } EOF if ! compile_prog "" "" ; then - CFLAGS="-march=i486 $CFLAGS" + QEMU_CFLAGS="-march=i486 $QEMU_CFLAGS" fi fi -- 1.7.5.4