• Vladislav Vaintroub's avatar
    Dtrace on Solaris: · 4a4b822a
    Vladislav Vaintroub authored
    fix excessive relinking that results from rerunning
    dtrace -G second time on the objects that come into 
    static library. 
    The reason for relinking is that dtrace -G changes 
    timestamp for the object file, which in turn results
    in re-archiving the mysys on next time make runs, 
    which causes relinking of the whole mysql, because
    everything depends on mysys.
    
    The fix is to copy objects into temp before running 
    dtrace -G in mysqld pre-build step. This way dtrace 
    does not affect the object timestamp.
    4a4b822a
dtrace_prelink.cmake 2.87 KB