fix test.sh compiler-options

This commit is contained in:
bolero-MURAKAMI 2014-03-01 15:25:21 +09:00
parent 87ed3d5548
commit 3cdebc72b8

View file

@ -157,6 +157,15 @@ done
all_options="-v -Wall -pedantic ${define_options} ${include_options} ${common_options[*]}"
vo=0
vkey=""
for option in ${compiler_options}; do
if [ ${vo} -eq 0 ]; then
vkey=${option}
vo=1
else
compiler_specific_options[${vkey}]="${compiler_specific_options[${vkey}]} ${option}"
vo=0
fi
done
for option in ${version_options}; do
if [ ${vo} -eq 0 ]; then
vkey=${option}