[FFmpeg-devel] Update on lbos

Rich Felker dalias
Mon Feb 4 23:22:21 CET 2008


On Mon, Feb 04, 2008 at 09:36:35PM +0000, M?ns Rullg?rd wrote:
> Rich Felker <dalias at aerifal.cx> writes:
> 
> > On Mon, Feb 04, 2008 at 03:47:16PM +0100, Luca Abeni wrote:
> >> Hi Diego,
> >> 
> >> Diego Biurrun wrote:
> >> [...]
> >> > Here are some comments:
> >> > 
> >> > In the Makefile there is
> >> > 
> >> >> CFLAGS=$(OPTFLAGS) -I$(BUILD_ROOT) -I$(SRC_PATH)/include \
> >> >>        -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
> >> > 
> >> > Hmm, are some of the -D flags gcc-specific?
> >> Again, you are right... I just copied them from ffmpeg Makefiles (I
> >> suspect that defining some constants will not break anything, but
> >> I'll try to enable these defines only if gcc is detected).
> >
> > GNU-libc-specific, not gcc related.
> 
> Quite so.  There is some POSIX getconf magic one can use to retrieve
> those flags, but it never works in practise.

Are you sure? I suspect it works really well on crap like Solaris
that's broken in the default config but nonetheless claims POSIX
conformance. It would at least be worth a try.

Rich




More information about the ffmpeg-devel mailing list