From eddbd7e5a09a11fab04f55222f1efa14426f49fe Mon Sep 17 00:00:00 2001 From: Roy Sigurd Karlsbakk Date: Thu, 18 Jul 2002 20:27:09 +0000 Subject: [PATCH] largefile support patch by Roy Sigurd Karlsbakk Originally committed as revision 778 to svn://svn.ffmpeg.org/ffmpeg/trunk --- Makefile | 2 +- libav/Makefile | 2 +- libavcodec/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 40d7826e87..3cb514a259 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ include config.mak VPATH=$(SRC_PATH) -CFLAGS= $(OPTFLAGS) -Wall -g -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libav +CFLAGS= $(OPTFLAGS) -Wall -g -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libav -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE LDFLAGS= -g ifeq ($(TARGET_GPROF),yes) CFLAGS+=-p diff --git a/libav/Makefile b/libav/Makefile index a0a5008912..48dacabe5d 100644 --- a/libav/Makefile +++ b/libav/Makefile @@ -6,7 +6,7 @@ include ../config.mak VPATH=$(SRC_PATH)/libav -CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H +CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE OBJS= utils.o diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 3efa591919..6d54abb953 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -7,7 +7,7 @@ include ../config.mak VPATH=$(SRC_PATH)/libavcodec # NOTE: -I.. is needed to include config.h -CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I.. +CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE LDFLAGS= -g OBJS= common.o utils.o mem.o allcodecs.o \