Displaying 1 result from an estimated 1 matches for "sedscript_objpath".
2012 Mar 13
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
...into another CMakeLists.txt.
Inside the llvm-config's source folder, the CMakeLists.txt shows how its
--cxxflags is set:
set(CXX_FLGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${uppercase_
CMAKE_BUILD_TYPE}} ${LLVM_DEFINITIONS}")
...
COMMAND echo s!@LLVM_CXXFLAGS@!${CXX_FLGS}! >> ${SEDSCRIPT_OBJPATH}
and my LLVM_DEFINITIONS is:
-D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic
-Wno-long-long -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
I also use "make VERBOSE=1" to check how llvm and clang is compiled. I see
clearly that they are bot...