mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] fix redundant processing of --build flag
@ 2016-05-04  3:29 LeMay, Michael
  2016-05-04 21:31 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: LeMay, Michael @ 2016-05-04  3:29 UTC (permalink / raw)
  To: musl

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 <michael.lemay@intel.com>
---
 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix redundant processing of --build flag
  2016-05-04  3:29 [PATCH] fix redundant processing of --build flag LeMay, Michael
@ 2016-05-04 21:31 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2016-05-04 21:31 UTC (permalink / raw)
  To: musl

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 <michael.lemay@intel.com>
> ---
>  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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-04 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-04  3:29 [PATCH] fix redundant processing of --build flag LeMay, Michael
2016-05-04 21:31 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).