From 9d821fc2d22b1306fce7cc595466fd333b448684 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 3 Mar 2009 12:52:12 +0000 Subject: Do not add -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE unconditionally to CFLAGS. Apparently there are some systems that do not like these definitions. Originally committed as revision 17755 to svn://svn.ffmpeg.org/ffmpeg/trunk --- common.mak | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common.mak') diff --git a/common.mak b/common.mak index 35c05795fb..b756123d4f 100644 --- a/common.mak +++ b/common.mak @@ -18,8 +18,7 @@ endif ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale -CFLAGS := -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ - -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS) +CFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS) %.o: %.c $(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $< -- cgit v1.2.3