mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-25 21:35:41 +00:00
fix test.sh compiler-options
This commit is contained in:
parent
87ed3d5548
commit
3cdebc72b8
1 changed files with 9 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue