]> granicus.if.org Git - musl/commitdiff
fix redundant processing of --build flag in configure script
authorLeMay, Michael <michael.lemay@intel.com>
Wed, 4 May 2016 03:29:42 +0000 (03:29 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 4 May 2016 21:31:28 +0000 (17:31 -0400)
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

index 37942918a61a2976e6c9eac6f0151fc581f08da1..3432b58dec9e277879478263d1fb798aaa03f27b 100755 (executable)
--- 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" ;;