• Steve Lhomme's avatar
    configure: fix linking with MSVC when using --disable-optimizations · f7174d7e
    Steve Lhomme authored
    Without any optimization flags, MSVC does no dead code elimination (DCE) at
    all, even for the most trivial cases. DCE is a prerequisite for building libav
    correctly, otherwise there are undefined references to functions for other
    architectures and disabled components.
    
    -O1 is the minimal optimization flag for MSVC that does include DCE.
    f7174d7e
configure 164 KB