From: LeMay, Michael Date: Wed, 4 May 2016 03:29:42 +0000 (+0000) Subject: fix redundant processing of --build flag in configure script X-Git-Tag: v1.1.15~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6bc7d9c411c3a32cfa9d239b73fffb2ba66dd9ff;p=oweals%2Fmusl.git fix redundant processing of --build flag in configure script 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 --- diff --git a/configure b/configure index 37942918..3432b58d 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" ;;