[MPlayer-users] build failure on Mac OS 10.5.8
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Apr 2 02:44:02 CEST 2013
On 30 Mar 2013, at 11:51, Christian Ebert <blacktrash at gmx.net> wrote:
> * Christian Ebert on Saturday, March 30, 2013 at 10:06:14 +0000
>> * Reimar Döffinger on Saturday, March 30, 2013 at 09:53:48 +0100
>>> On Fri, Mar 29, 2013 at 11:46:27PM +0000, Christian Ebert wrote:
>>>> cc -MMD -MP -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -falign-loops=16 -shared-libgcc -mdynamic-no-pic -I/usr/local/include -I/sw/include -I/usr/X11/include -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include/freetype2 -I/sw/include -c -o libao2/ao_coreaudio.o libao2/ao_coreaudio.c
>
> Should have been:
>
> gcc-4 -MMD -MP -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -falign-loops=16 -shared-libgcc -mdynamic-no-pic -I/usr/local/include -I/sw/include -I/usr/X11/include -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/local/include -I/sw/include/freetype2 -I/sw/include -I/usr/local/include -I/usr/local/include/libdvdread -c -o libao2/ao_coreaudio.o libao2/ao_coreaudio.c
>
> The other one was with Apple-shipped cc, but the error was the
> same.
>
> r35952 was building ok.
I have a suspicion that for some reason configure will only work if the compiler is called "gcc", if someone can figure out at which commit the -std= option got lost for compilers with a different name that would help.
More information about the MPlayer-users
mailing list