This causes buildbot breakage for systems where OCaml files are built
with a different compiler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309364
91177308-0d34-0410-b5e6-
96231b3b80d8
endforeach()
string(REPLACE ";" " " ARG_CFLAGS "${ARG_CFLAGS}")
- set(c_flags "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} ${ARG_CFLAGS} ${LLVM_DEFINITIONS}")
+ set(c_flags "${ARG_CFLAGS} ${LLVM_DEFINITIONS}")
foreach( include_dir ${LLVM_INCLUDE_DIR} ${LLVM_MAIN_INCLUDE_DIR} )
set(c_flags "${c_flags} -I${include_dir}")
endforeach()