Re: [MPlayer-dev-eng] [PATCH] Support compiling without CPU optimization
- Date: Wed, 3 Jun 2015 19:02:11 +0200
- From: Reimar Döffinger <Reimar.Doeffinger@xxxxxx>
- Subject: Re: [MPlayer-dev-eng] [PATCH] Support compiling without CPU optimization
On Thu, May 28, 2015 at 11:04:13PM +0200, Ingo Brückl wrote:
> Those who have configured their gcc to already compile CPU specific,
In what way? And how then do these options break it?
> optimized code don't want any automatic optimization by the use of
> Add an option to disable optimization.
I think that name is misleading, particularly compared to what
it means in other projects (essentially compiling with an explicit
-O0 or so).
Also it is quite a bit of non-obvious changes.
For example the proc=none setting is somewhat questionable, since
the desired effect is not to behave as if --target=generic was used
(which means no processor-specific optimizations - including assembler
code - at all)...
If it's only -march and -mcpu it seems preferable to filter out,
probably it would be easiest to just leave that up to everyone via
a sed command or otherwise in the cflag setting code.
MPlayer-dev-eng mailing list