[FFmpeg-devel] Remove force of largefile defines in common.mak
Thu Feb 19 15:31:53 CET 2009
I've had a quick discussion of this on mplayer-dev-eng, but they sync
their common.mak with common.mak from FFmpeg.
The problem I encounter is that CFLAGS is forced to contain
_FILE_OFFSET_BITS=64 and _LARGEFILE_SOURCE.
CFLAGS := -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 D_LARGEFILE_SOURCE \
-I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS)
On uClibc it results in an #error if the user specifies
_FILE_OFFSET_BITS=64 and largefile support is not enabled.
Could these defines be removed from common.nak?
Or could largefile support be detected by configure, or a switch to the
Or must FFmpeg have largefile support enable to compile and run?
More information about the ffmpeg-devel