diff options
| author | LeMay, Michael <michael.lemay@intel.com> | 2016-05-04 03:29:42 +0000 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2016-05-04 17:31:28 -0400 |
| commit | 6bc7d9c411c3a32cfa9d239b73fffb2ba66dd9ff (patch) | |
| tree | feded9e93325aa0069681d9822e63688e7dbea16 | |
| parent | 4b619e5c61d7d4cf344b355be8b1acb0f0795ea9 (diff) | |
| download | musl-6bc7d9c411c3a32cfa9d239b73fffb2ba66dd9ff.tar.gz | |
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>
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" ;; |
