Re: [libav-devel] [PATCH 2/2] configure: fix linking with MSVC when using --disable-optimizations

2016-12-15 Thread Diego Biurrun
On Thu, Dec 15, 2016 at 06:00:56PM +0100, Steve Lhomme wrote: > From: Steve Lhomme > > 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

[libav-devel] [PATCH 2/2] configure: fix linking with MSVC when using --disable-optimizations

2016-12-15 Thread Steve Lhomme
From: Steve Lhomme 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 t