Use CFG_LLVM_ROOT's llvm-config if it exists.
On some platform (OS X), llvm needs macros like __STDC_LIMIT_MACROS defined in order to work, which is normally defined in llvm-config. This patch modifies the config to use CFG_LLVM_ROOT's llvm-config if it exists, which fixes the compile failures.
Showing
想要评论请 注册 或 登录