[PATCH] [sanitizer][MIPS] Add --target flag for MIPS32
Alexey Samsonov
vonosmas at gmail.com
Thu Apr 30 13:40:28 PDT 2015
REPOSITORY
rL LLVM
================
Comment at: cmake/config-ix.cmake:222
@@ -221,2 +221,3 @@
else()
+ string(REPLACE ";" "\t" TARGET_${arch}_CFLAGS "${TARGET_${arch}_CFLAGS}")
set(${out_var} ${TARGET_${arch}_CFLAGS} PARENT_SCOPE)
----------------
You shouldn't modify TARGET_${arch}_CFLAGS here, or do a string replacement. Just glue all flags into a string using foreach() loop, e.g. see `set_target_compile_flags` in CompilerRTUtils.cmake
http://reviews.llvm.org/D9249
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list