[MPlayer-dev-eng] [PATCH] Support compiling without CPU optimization
Reimar.Doeffinger at gmx.de
Wed Jun 3 19:02:11 CEST 2015
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.
More information about the MPlayer-dev-eng