mirror of git://git.musl-libc.org/musl
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 <michael.lemay@intel.com>
This commit is contained in:
parent
4b619e5c61
commit
6bc7d9c411
|
@ -172,7 +172,7 @@ case "$arg" in
|
||||||
--disable-wrapper|--enable-wrapper=no) wrapper=no ;;
|
--disable-wrapper|--enable-wrapper=no) wrapper=no ;;
|
||||||
--enable-gcc-wrapper|--enable-gcc-wrapper=yes) wrapper=yes ; gcc_wrapper=yes ;;
|
--enable-gcc-wrapper|--enable-gcc-wrapper=yes) wrapper=yes ; gcc_wrapper=yes ;;
|
||||||
--disable-gcc-wrapper|--enable-gcc-wrapper=no) wrapper=no ;;
|
--disable-gcc-wrapper|--enable-gcc-wrapper=no) wrapper=no ;;
|
||||||
--enable-*|--disable-*|--with-*|--without-*|--*dir=*|--build=*) ;;
|
--enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;;
|
||||||
--host=*|--target=*) target=${arg#*=} ;;
|
--host=*|--target=*) target=${arg#*=} ;;
|
||||||
--build=*) build=${arg#*=} ;;
|
--build=*) build=${arg#*=} ;;
|
||||||
-* ) echo "$0: unknown option $arg" ;;
|
-* ) echo "$0: unknown option $arg" ;;
|
||||||
|
|
Loading…
Reference in New Issue