Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 175627 | Differences between
and this patch

Collapse All | Expand All

(-)mplayer-20070427/libavcodec/Makefile-orig (+19 lines)
Lines 279-284 Link Here
279
OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsubdec.o
279
OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsubdec.o
280
OBJS-$(CONFIG_H261_PARSER)             += h261.o
280
OBJS-$(CONFIG_H261_PARSER)             += h261.o
281
OBJS-$(CONFIG_H263_PARSER)             += h263dec.o
281
OBJS-$(CONFIG_H263_PARSER)             += h263dec.o
282
###
283
# This patch is derived from a debian fix, see
284
#  http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-March/050608.html
285
# for details
286
#if --enable-debug is passed to MPlayer's configure, then
287
#  OPTFLAGS = '-O4 -ffast-math -fomit-frame-pointer ...'
288
# is replaced by '-O2...'
289
# but cabac.h cannot be compiled in x86, it fails as follows
290
#cabac.h:513: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
291
#
292
#This was reported as a bug against GCC, in
293
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11203
294
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13850
295
#but is actually not: i386 simply cannot compile that asm w/o those parameters
296
ifeq ($(TARGET_ARCH_X86),yes)
297
#ifneq ($(CONFIG_DEBUG),)
298
h264.o : OPTFLAGS = -O4 -ffast-math -fomit-frame-pointer
299
#endif
300
endif
282
OBJS-$(CONFIG_H264_PARSER)             += h264.o
301
OBJS-$(CONFIG_H264_PARSER)             += h264.o
283
OBJS-$(CONFIG_MJPEG_PARSER)            += mjpeg.o
302
OBJS-$(CONFIG_MJPEG_PARSER)            += mjpeg.o
284
OBJS-$(CONFIG_MPEG4VIDEO_PARSER)       += parser.o
303
OBJS-$(CONFIG_MPEG4VIDEO_PARSER)       += parser.o

Return to bug 175627