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

2016-12-16 Thread Stève Lhomme
On Fri, Dec 16, 2016 at 1:34 AM, Matt Oliver wrote: > On 16 December 2016 at 11:20, Carl Eugen Hoyos wrote: > >> 2016-12-14 16:47 GMT+01:00 Steve Lhomme : >> > From: Steve Lhomme >> > >> > Without any optimization flags, MSVC does no dead code elimination (DCE) >> at >> > all, even for the most

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

2016-12-15 Thread Matt Oliver
On 16 December 2016 at 11:20, Carl Eugen Hoyos wrote: > 2016-12-14 16:47 GMT+01:00 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 > ffmpeg > >

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

2016-12-15 Thread Carl Eugen Hoyos
2016-12-14 16:47 GMT+01:00 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 > ffmpeg > correctly, otherwise there are undefined references to functions for

[FFmpeg-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 ffmpeg correctly, otherwise there are undefined references to functions for other architectures and disabled components. -Os -Og