• Vladislav Vaintroub's avatar
    MDEV-9298 : Build failure when linking libmysql. · 5f48b615
    Vladislav Vaintroub authored
    If GCC or CLang compile with link time optimization (-flto),
    they throw an error during link , when lto sees a
    function (e.g mysql_real_connect) is redeclared as "external void *"
    in libmysql_exports.cc
    
    The fix disables -flto for generated libmysql_exports.cc
    5f48b615
libutils.cmake 12.4 KB