From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9989 Path: news.gmane.org!not-for-mail From: "LeMay, Michael" Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] fix redundant processing of --build flag Date: Wed, 4 May 2016 03:29:42 +0000 Message-ID: <390CE752059EB848A71F4F676EBAB76D3AB7C28C@ORSMSX114.amr.corp.intel.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462332606 11562 80.91.229.3 (4 May 2016 03:30:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 03:30:06 +0000 (UTC) To: "musl@lists.openwall.com" Original-X-From: musl-return-10002-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 04 05:30:06 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1axnVl-0000oj-RA for gllmg-musl@m.gmane.org; Wed, 04 May 2016 05:30:05 +0200 Original-Received: (qmail 19459 invoked by uid 550); 4 May 2016 03:30:03 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18399 invoked from network); 4 May 2016 03:29:58 -0000 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,574,1455004800"; d="scan'208";a="96760477" Thread-Topic: [PATCH] fix redundant processing of --build flag Thread-Index: AdGltJYmygLBBcVbTwKkNaKtVTrKkQ== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.140] Xref: news.gmane.org gmane.linux.lib.musl.general:9989 Archived-At: The --build flag is listed in two case statement entries in configure, which causes the second entry to be ignored. This patch removes it from the first entry. Signed-off-by: Michael LeMay --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 3794291..3432b58 100755 --- a/configure +++ b/configure @@ -172,7 +172,7 @@ case "$arg" in --disable-wrapper|--enable-wrapper=3Dno) wrapper=3Dno ;; --enable-gcc-wrapper|--enable-gcc-wrapper=3Dyes) wrapper=3Dyes ; gcc_wrapp= er=3Dyes ;; --disable-gcc-wrapper|--enable-gcc-wrapper=3Dno) wrapper=3Dno ;; ---enable-*|--disable-*|--with-*|--without-*|--*dir=3D*|--build=3D*) ;; +--enable-*|--disable-*|--with-*|--without-*|--*dir=3D*) ;; --host=3D*|--target=3D*) target=3D${arg#*=3D} ;; --build=3D*) build=3D${arg#*=3D} ;; -* ) echo "$0: unknown option $arg" ;; --=20 2.5.0