Displaying 2 results from an estimated 2 matches for "llvm_replace_compiler_opt".
2011 Jan 27
0
[LLVMdev] CMake-generated llvm-config.
...How do they build their frontend? Do they use LLVM as an external
library? In that case, LLVM_ENABLE_PEDANTIC should not affect them at
all. If their frontend is integrated on the LLVM cmake build system,
they can switch off -pedantic (on svn LLVM) putting this at the top of
their CMakeLists.txt:
llvm_replace_compiler_option(CMAKE_CXX_FLAGS, "-pedantic" "")
llvm_replace_compiler_option(CMAKE_C_FLAGS, "-pedantic" "")
2013 Jun 14
1
[LLVMdev] Building pass out of source with cmake: undefined symbol error
Ah! Think I figured it out -- it's rtti. When I build with -fno-rtti, the spurious symbol disappears. Blargh, that was complicated. I'm going to try an out-of-source cmake build now. So far this has been a soliloquy, hope it helps someone else.
________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of Charles Jacobsen