summaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-03 12:52:12 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-03 12:52:12 +0000
commit9d821fc2d22b1306fce7cc595466fd333b448684 (patch)
tree066292eb92eba914478750043b51983a52d21148 /common.mak
parent892438a3d10459f218235054c633ff9382d8981f (diff)
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
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak3
1 files changed, 1 insertions, 2 deletions
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 $@ $<