No, I believe you should fix get_target_flags_for_arch function instead, so that it returns the string instead of the list. REPOSITORY rL LLVM http://reviews.llvm.org/D9249 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/