mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
d98f2d8cc6
Pass the values of CMAKE_C_FLAGS and CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE} as -ccopt to ocamlc. This enforces the specific flags used for the LLVM build to be used for OCaml bindings as well, notably -O and -march flags. This also solves the issue of the user being unable to force specific flags for OCaml bindings builds. Gentoo needs this to enforce -DNDEBUG consistently between the LLVM build and the split OCaml bindings build. Differential Revision: https://reviews.llvm.org/D35898 llvm-svn: 309320 |
||
---|---|---|
.. | ||
modules | ||
platforms | ||
config-ix.cmake | ||
config.guess | ||
dummy.cpp | ||
nsis_icon.ico | ||
nsis_logo.bmp | ||
README |
See docs/CMake.html for instructions on how to build LLVM with CMake.