From patchwork Wed Apr 4 16:03:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 7630 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 261E923ED2 for ; Wed, 4 Apr 2012 16:03:20 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id D9C18A180B6 for ; Wed, 4 Apr 2012 16:03:19 +0000 (UTC) Received: by iage36 with SMTP id e36so674764iag.11 for ; Wed, 04 Apr 2012 09:03:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=eDW/rNoyo7XqWDv8DtJHs2Ud6En/pZ5sGkQlEwbJWQg=; b=akt538qe1UG7VO8idFr0+hgnUZG3A1UeRgeQkGIBCXLDry9r4zqTXKwNp2I7HmnQUr 85oG8WWbdFQRw//ghjHVFfLJNb3NxpY8Dub6d61QuHUqX1zzg0FwtzeYVKHHRV/nKeSH H1qJrhsUDUsT6A2ath/WcUss8Cn0vWVNSORtSHnz3jqq1iXvUcG2gjDaAewbi5Nb2hlR TkbEwnzj5E9aRZpF2wSPBslnGNqXQ5xzxjJXbOspK22bpg5kycCBaiXulJUFB/35LCFj vUZTRsis/bLC5ggiCu/Bma8Q0PV7zse8fFW+6k8XqmWdTyIF5EZmraUW2g/F3+bNK1+Z 18Lg== Received: by 10.50.51.197 with SMTP id m5mr2191200igo.38.1333555399136; Wed, 04 Apr 2012 09:03:19 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.164.217 with SMTP id f25csp46783iby; Wed, 4 Apr 2012 09:03:18 -0700 (PDT) Received: by 10.180.81.37 with SMTP id w5mr6569102wix.16.1333555397946; Wed, 04 Apr 2012 09:03:17 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id c7si1436561wia.20.2012.04.04.09.03.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Apr 2012 09:03:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SFSfz-0003M6-9V; Wed, 04 Apr 2012 17:03:15 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, patches@linaro.org, "Michael S. Tsirkin" , Juan Quintela Subject: [PATCH] configure: Remove useless uses of ARCH_CFLAGS Date: Wed, 4 Apr 2012 17:03:15 +0100 Message-Id: <1333555395-12873-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 X-Gm-Message-State: ALoCoQljwmmKooAcR1B5w33/VsuTVSLwMFssm/zXq8dRUBvGDeLxclW1lzSuWn9H0kr2LxEha3xF Remove some useless uses of ARCH_CFLAGS -- this variable was never set so will always be empty. The uses were accidental: in commit 0c439cbf8 Juan Quintela removed ARCH_CFLAGS in favour of CFLAGS (which in turn became QEMU_CFLAGS). However in commit be17dc90 a use of it was reintroduced (apparently accidentally) by Michael S. Tsirkin, and then I subsequently cut-n-pasted that into a number of other configure feature tests. Signed-off-by: Peter Maydell Reviewed-by: Andreas Färber Reviewed-by: Juan Quintela --- configure | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 4b3adc9..80a3e8d 100755 --- a/configure +++ b/configure @@ -2361,7 +2361,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then fallocate=yes fi @@ -2376,7 +2376,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then sync_file_range=yes fi @@ -2393,7 +2393,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then fiemap=yes fi @@ -2423,7 +2423,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then epoll=yes fi @@ -2446,7 +2446,7 @@ int main(void) return epoll_create1 == epoll_create1; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then epoll_create1=yes fi @@ -2460,7 +2460,7 @@ int main(void) return 0; } EOF -if compile_prog "$ARCH_CFLAGS" "" ; then +if compile_prog "" "" ; then epoll_pwait=yes fi