On Tue, Dec 13, 2016 at 5:17 PM, Diego Biurrun <di...@biurrun.de> wrote: > On Tue, Dec 13, 2016 at 04:23:02PM +0100, Steve Lhomme wrote: >> On Tue, Dec 13, 2016 at 3:33 PM, Hendrik Leppkes <h.lepp...@gmail.com> wrote: >> > On Tue, Dec 13, 2016 at 2:24 PM, Steve Lhomme <rob...@gmail.com> wrote: >> >> From: Steve Lhomme <rob...@gmail.com> >> >> >> >> Otherwise some ARM and other unsupported CPU/OS is linked with -O0 >> >> --- a/configure >> >> +++ b/configure >> >> @@ -3278,6 +3278,7 @@ probe_cc(){ >> >> _DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -showIncludes -Zs' >> >> _cflags_speed="-O2" >> >> _cflags_size="-O1" >> >> + _cflags_noopt="-O1" >> > >> > noopt should only be used with --disable-optimizations, why are you >> > building with that if thats not what you actually want? >> >> That's what I used indeed. But it didn't link because it would try to >> use all kinds of stuff that are compiled but to be dropped by the >> linker. If you have another suggestion for this not to happen... > > You mean DCE (dead code elimination) does not work? We do indeed > require DCE to build..
That's the thing, yes. It doesn't work with -O0. > Diego > _______________________________________________ > libav-devel mailing list > libav-devel@libav.org > https://lists.libav.org/mailman/listinfo/libav-devel _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel