Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51670

Summary: Patch for media-plugins/caps-plugins-0.1.10 to compile on amd64
Product: Gentoo Linux Reporter: Stefan Briesenick (RETIRED) <sbriesen>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: caps-plugins-0.1.10.ebuild.patch

Description Stefan Briesenick (RETIRED) gentoo-dev 2004-05-21 09:39:26 UTC
see my attached patch. The problem was, that the $CFLAGS from
make.conf was not used in make. To enforce it, you have to do:

emake CFLAGS="$CFLAGS"

then everything works fine and it is also a benefit for x86, since this way, we can use our CFLAGS. ;-)


Reproducible: Always
Steps to Reproduce:
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2004-05-21 09:43:32 UTC
Created attachment 31799 [details, diff]
caps-plugins-0.1.10.ebuild.patch

patch for media-plugins/caps-plugins-0.1.10.ebuild
Comment 2 Tom Martin (RETIRED) gentoo-dev 2004-07-06 11:32:58 UTC
This patch only works if you have -fPIC in your CFLAGS, I went into the work directory and found a Makefile in a bit of a state. It was trying to use "-O6 -ffast-math -funroll-loops -Wall -march=$(ARCH) -mcpu=$(ARCH)", which is far from ideal :)

Committed to CVS now.

Thanks very much for reporting!