search for: cmake_shared_library_link_c_flag

Displaying 4 results from an estimated 4 matches for "cmake_shared_library_link_c_flag".

2013 Mar 20
2
[LLVMdev] bugpoint (and possibly others) need to be compiled with -rdynamic
...0 Okay, yes that's it. ${prefix}/share/cmake/Modules/Platform/Linux-Intel.cmake: # We pass this for historical reasons. Projects may have # executables that use dlopen but do not set ENABLE_EXPORTS. set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-rdynamic") I assume the CMAKE_SHARED_LIBRARY_LINK_C_FLAGS and CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS could be set empty initially and then for those that need it, set it (or something else) to -rdynamic. -- Stephen Checkoway
2013 Mar 19
0
[LLVMdev] bugpoint (and possibly others) need to be compiled with -rdynamic
> What version of cmake are you using? I am getting the opposite > behavior: every binary is linked using -rdynamic :-( BTW, I reported llvm.org/pr15543 to track this. Cheers, Rafael
2013 Mar 20
0
[LLVMdev] bugpoint (and possibly others) need to be compiled with -rdynamic
On Mar 20, 2013, at 12:14 PM, Stephen Checkoway <s at pahtak.org> wrote: > I assume the CMAKE_SHARED_LIBRARY_LINK_C_FLAGS and CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS could be set empty initially and then for those that need it, set it (or something else) to -rdynamic. Attached is a small patch that sets CMAKE_SHARED_LIBRARY_LINK_CXXFLAGS to "" (as per your patch which I didn't notice initially), and then...
2013 Mar 19
2
[LLVMdev] bugpoint (and possibly others) need to be compiled with -rdynamic
On 21 August 2012 13:39, Stephen Checkoway <s at pahtak.org> wrote: > Attached is a patch that fixes it for the cmake build. I'm not positive this is the right place to put it and I really have no idea where the check should go when using the autotools. What version of cmake are you using? I am getting the opposite behavior: every binary is linked using -rdynamic :-( Cheers, Rafael