On 03/06/2015 21:23, Alan Burlison wrote:
hadoop-common-project/hadoop-common/src/JNIFlags.cmake sets the CMAKE_LD_FLAGS variable to the flags required for the linker. However, despite the name, CMAKE_LD_FLAGS is *not* a valid standard CMake variable
Confirmed, I've put nonsense flags in CMAKE_LD_FLAGS that should produce an invalid linker command-line and they don't appear in the generated makefiles and the build works fine. If I put the same nonsense flags in the proper variables then the build blows up as I'd expect.
-- Alan Burlison --