bdb4929 Use LLVM_UNITTEST_LINK_FLAGS to reduce link times for unit tests

2 files Authored by nikic 11 months ago, Committed by nikic 11 months ago,
    Use LLVM_UNITTEST_LINK_FLAGS to reduce link times for unit tests
    
    We currently spend a lot of time performing LTO on unit tests,
    which is largely wasted effort. We can't disable LTO entirely,
    because we don't have fat objects, but at least we can disable
    post-link optimization.
    
    For my local build, this reduces time in %build by about 30%.
    
        
file modified
+5 -1