• Brad King's avatar
    CMakeDetermineCompilerABI: Use normal linker flags in ABI project · a4f9b6f0
    Brad King authored
    When compiling the ABI detection test project, do not override
    CMAKE_EXE_LINKER_FLAGS completely.  The normally selected value of this
    variable may influence how the link is done and may be needed to be
    representative of how the calling project will be built.  Instead pass a
    variable that try_compile will reference as additional flags.  Leave
    this behavior of try_compile undocumented for now.
CMakeDetermineCompilerABI.cmake 5.88 KB