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

2016-12-15 Thread Diego Biurrun
On Thu, Dec 15, 2016 at 01:03:41PM +0100, Hendrik Leppkes wrote: > On Thu, Dec 15, 2016 at 12:57 PM, Diego Biurrun wrote: > > On Thu, Dec 15, 2016 at 08:43:16AM +0100, Steve Lhomme wrote: > >> On Wed, Dec 14, 2016 at 5:12 PM, Diego Biurrun wrote: > >> > On

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

2016-12-15 Thread Hendrik Leppkes
On Thu, Dec 15, 2016 at 12:57 PM, Diego Biurrun wrote: > On Thu, Dec 15, 2016 at 08:43:16AM +0100, Steve Lhomme wrote: >> On Wed, Dec 14, 2016 at 5:12 PM, Diego Biurrun wrote: >> > On Wed, Dec 14, 2016 at 04:46:54PM +0100, Steve Lhomme wrote: >> >> From: Steve

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

2016-12-15 Thread Diego Biurrun
On Thu, Dec 15, 2016 at 08:43:16AM +0100, Steve Lhomme wrote: > On Wed, Dec 14, 2016 at 5:12 PM, Diego Biurrun wrote: > > On Wed, Dec 14, 2016 at 04:46:54PM +0100, Steve Lhomme wrote: > >> From: Steve Lhomme > >> > >> Without any optimization flags, MSVC does

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

2016-12-14 Thread Steve Lhomme
On Wed, Dec 14, 2016 at 5:12 PM, Diego Biurrun wrote: > On Wed, Dec 14, 2016 at 04:46:54PM +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

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

2016-12-14 Thread Diego Biurrun
On Wed, Dec 14, 2016 at 04:46:54PM +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

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

2016-12-14 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