[MPlayer-dev-eng] Re: [PATCH] Enable FTZ/DAZ for SSE
Loren Merritt
lorenm at u.washington.edu
Tue Mar 6 17:20:02 CET 2007
On Tue, 6 Mar 2007, Zuxy Meng wrote:
> 2007/3/6, Diego Biurrun <diego at biurrun.de>:
>> On Tue, Mar 06, 2007 at 07:46:47PM +0800, Zuxy Meng wrote:
>>>
>>> mplayer$(EXESUF): $(MPLAYER_DEPS)
>>> - $(CC) -o $@ $^ $(LDFLAGS_MPLAYER)
>>> + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS_MPLAYER)
>>
>> Looks incorrect. This is the linking stage, compilation flags should
>> not be necessary here.
>
> There's an "endfile" line in the specs file which looks like
> %{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}
>
> So an additional object file gets linked in if -ffast-math or
> -funsafe-math-optimizations is in the command line. It doesn't affect
> compilation really but the link stage instead.
Then those flags should go in LDFLAGS in addition to CFLAGS.
--Loren Merritt
More information about the MPlayer-dev-eng
mailing list