fix testspr: for empty version list

This commit is contained in:
bolero-MURAKAMI 2014-01-11 23:19:23 +09:00
parent 0f5ed91e03
commit 82d7f65b0c

View file

@ -142,6 +142,12 @@ echo " include-paths = (${include_paths[*]})"
echo " max-procs = ${max_procs}"
echo " force = ${force}"
if [ -z "${gcc_version}" ]; then
gcc_version=" "
fi
if [ -z "${clang_version}" ]; then
clang_version=" "
fi
for user_macro in ${user_macros}; do
define_options="${define_options} -D${user_macro}"
done