summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLeMay, Michael <michael.lemay@intel.com>2016-05-04 03:29:42 +0000
committerRich Felker <dalias@aerifal.cx>2016-05-04 17:31:28 -0400
commit6bc7d9c411c3a32cfa9d239b73fffb2ba66dd9ff (patch)
treefeded9e93325aa0069681d9822e63688e7dbea16 /configure
parent4b619e5c61d7d4cf344b355be8b1acb0f0795ea9 (diff)
downloadmusl-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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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" ;;