From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10003 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix redundant processing of --build flag Date: Wed, 4 May 2016 17:31:06 -0400 Message-ID: <20160504213106.GU21636@brightrain.aerifal.cx> References: <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 X-Trace: ger.gmane.org 1462397482 4477 80.91.229.3 (4 May 2016 21:31:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 21:31:22 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10016-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 04 23:31:21 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 1ay4O9-0004oJ-FN for gllmg-musl@m.gmane.org; Wed, 04 May 2016 23:31:21 +0200 Original-Received: (qmail 19461 invoked by uid 550); 4 May 2016 21:31:19 -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 18416 invoked from network); 4 May 2016 21:31:18 -0000 Content-Disposition: inline In-Reply-To: <390CE752059EB848A71F4F676EBAB76D3AB7C28C@ORSMSX114.amr.corp.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10003 Archived-At: On Wed, May 04, 2016 at 03:29:42AM +0000, LeMay, Michael wrote: > 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. Thanks! Applied. Rich > > 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=no) wrapper=no ;; > --enable-gcc-wrapper|--enable-gcc-wrapper=yes) wrapper=yes ; gcc_wrapper=yes ;; > --disable-gcc-wrapper|--enable-gcc-wrapper=no) wrapper=no ;; > ---enable-*|--disable-*|--with-*|--without-*|--*dir=*|--build=*) ;; > +--enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;; > --host=*|--target=*) target=${arg#*=} ;; > --build=*) build=${arg#*=} ;; > -* ) echo "$0: unknown option $arg" ;; > -- > 2.5.0