Originally committed as revision 2315 to svn://svn.ffmpeg.org/ffmpeg/trunktags/v0.5
| @@ -6,7 +6,7 @@ include config.mak | |||||
| VPATH=$(SRC_PATH) | VPATH=$(SRC_PATH) | ||||
| CFLAGS= $(OPTFLAGS) -Wall -g -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE | |||||
| CFLAGS= -Wall $(OPTFLAGS) -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE | |||||
| LDFLAGS+= -g | LDFLAGS+= -g | ||||
| ifeq ($(TARGET_GPROF),yes) | ifeq ($(TARGET_GPROF),yes) | ||||
| @@ -181,7 +181,7 @@ case "$gcc_version" in | |||||
| CFLAGS="-no-cpp-precomp -pipe -fomit-frame-pointer" | CFLAGS="-no-cpp-precomp -pipe -fomit-frame-pointer" | ||||
| ;; | ;; | ||||
| *3.3*) | *3.3*) | ||||
| CFLAGS="-no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -force_cpusubtype_ALL" | |||||
| CFLAGS="-no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -force_cpusubtype_ALL -Wno-sign-compare" | |||||
| ;; | ;; | ||||
| *) | *) | ||||
| CFLAGS="-no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic" | CFLAGS="-no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic" | ||||
| @@ -398,21 +398,21 @@ if test $tune != "generic"; then | |||||
| TUNECPU=ppc604 | TUNECPU=ppc604 | ||||
| ;; | ;; | ||||
| G3|g3|75*|ppc75*|PowerPC75*) | G3|g3|75*|ppc75*|PowerPC75*) | ||||
| CFLAGS="$CFLAGS -mcpu=750 -mtune=750" | |||||
| CFLAGS="$CFLAGS -mcpu=750 -mtune=750 -mpowerpc-gfxopt" | |||||
| if test $altivec = "yes"; then | if test $altivec = "yes"; then | ||||
| echo "WARNING: tuning for PPC75x but altivec enabled !"; | echo "WARNING: tuning for PPC75x but altivec enabled !"; | ||||
| fi | fi | ||||
| TUNECPU=ppc750 | TUNECPU=ppc750 | ||||
| ;; | ;; | ||||
| G4|g4|745*|ppc745*|PowerPC745*) | G4|g4|745*|ppc745*|PowerPC745*) | ||||
| CFLAGS="$CFLAGS -mcpu=7450 -mtune=7450" | |||||
| CFLAGS="$CFLAGS -mcpu=7450 -mtune=7450 -mpowerpc-gfxopt" | |||||
| if test $altivec = "no"; then | if test $altivec = "no"; then | ||||
| echo "WARNING: tuning for PPC745x but altivec disabled !"; | echo "WARNING: tuning for PPC745x but altivec disabled !"; | ||||
| fi | fi | ||||
| TUNECPU=ppc7450 | TUNECPU=ppc7450 | ||||
| ;; | ;; | ||||
| 74*|ppc74*|PowerPC74*) | 74*|ppc74*|PowerPC74*) | ||||
| CFLAGS="$CFLAGS -mcpu=7400 -mtune=7400" | |||||
| CFLAGS="$CFLAGS -mcpu=7400 -mtune=7400 -mpowerpc-gfxopt" | |||||
| if test $altivec = "no"; then | if test $altivec = "no"; then | ||||
| echo "WARNING: tuning for PPC74xx but altivec disabled !"; | echo "WARNING: tuning for PPC74xx but altivec disabled !"; | ||||
| fi | fi | ||||
| @@ -7,7 +7,7 @@ include ../config.mak | |||||
| VPATH=$(SRC_PATH)/libavcodec | VPATH=$(SRC_PATH)/libavcodec | ||||
| # NOTE: -I.. is needed to include config.h | # NOTE: -I.. is needed to include config.h | ||||
| CFLAGS= $(OPTFLAGS) -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE | |||||
| CFLAGS= -Wall $(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE | |||||
| OBJS= common.o utils.o mem.o allcodecs.o \ | OBJS= common.o utils.o mem.o allcodecs.o \ | ||||
| mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ | mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ | ||||
| @@ -6,7 +6,7 @@ include ../config.mak | |||||
| VPATH=$(SRC_PATH)/libavformat | VPATH=$(SRC_PATH)/libavformat | ||||
| CFLAGS= $(OPTFLAGS) -Wall -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE | |||||
| CFLAGS= -Wall $(OPTFLAGS) -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 cutils.o os_support.o allformats.o | OBJS= utils.o cutils.o os_support.o allformats.o | ||||
| PPOBJS= | PPOBJS= | ||||
| @@ -2,7 +2,7 @@ include ../config.mak | |||||
| VPATH=$(SRC_PATH)/vhook | VPATH=$(SRC_PATH)/vhook | ||||
| CFLAGS=-fPIC $(OPTFLAGS) -Wall -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H | |||||
| CFLAGS=-fPIC -Wall $(OPTFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H | |||||
| ifeq ($(CONFIG_DARWIN),yes) | ifeq ($(CONFIG_DARWIN),yes) | ||||
| SHFLAGS+=-bundle -flat_namespace -undefined suppress | SHFLAGS+=-bundle -flat_namespace -undefined suppress | ||||