[MPlayer-dev-eng] [PATCH] Get rid of -D_GNU_SOURCE

Rich Felker dalias at aerifal.cx
Fri Dec 8 16:07:34 CET 2006


On Fri, Dec 08, 2006 at 02:35:19PM +0100, Diego Biurrun wrote:
> > -CFLAGS= -D__USE_UNIX98 -D_GNU_SOURCE \
> > +CFLAGS= -D__USE_UNIX98 \
> >  	-DHAVE_LIMITS_H -DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H \
> >  	-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.2.9\"
> 
> ... for external libraries I'm not so sure.  If they are compiled with
> _GNU_SOURCE upstream then I think we should use the same configuration.

Why? -D_GNU_SOURCE is always wrong.. If there really are GNU
dependencies they should be found and removed.

Rich




More information about the MPlayer-dev-eng mailing list