Merge pull request #10529 from vnctdj/bSh

Don't prevent use of make's long options
This commit is contained in:
Henrik Rydgård 2018-01-14 00:37:29 +01:00 committed by GitHub
commit 9baf83ea32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
b.sh
View File

@ -39,13 +39,10 @@ do
--no-package) echo "Packaging disabled"
PACKAGE=0
;;
--clang) echo "Clang enabled"
--clang) echo "Clang enabled"
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
;;
--*) echo "Bad option: $1"
exit 1
;;
*) MAKE_OPT="$1 ${MAKE_OPT}"
;;
esac