Commit 601d22f6 by Christophe Lyon Committed by Christophe Lyon

genmultilib (combination_space): Accept '+' in option names.

2017-06-28  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/
	* genmultilib (combination_space): Accept '+' in option names.

From-SVN: r249730
parent b8d62ac8
2017-06-28 Christophe Lyon <christophe.lyon@linaro.org>
* genmultilib (combination_space): Accept '+' in option names.
2017-06-28 Martin Liska <mliska@suse.cz>
PR sanitizer/81224
......
......@@ -462,7 +462,7 @@ echo "};"
# Generate a regular expression to validate option combinations.
options_re=
for set in ${options}; do
for opt in `echo ${set} | sed -e 's_[/|]_ _g'`; do
for opt in `echo ${set} | sed -e 's_[/|]_ _g' -e 's/+/./g' `; do
options_re="${options_re}${options_re:+|}${opt}"
done
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment