Bug 51670 - Patch for media-plugins/caps-plugins-0.1.10 to compile on amd64
Bug#: 51670 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: amd64@gentoo.org Reported By: sbriesen@gentoo.org
Component: Ebuilds
URL: 
Summary: Patch for media-plugins/caps-plugins-0.1.10 to compile on amd64
Keywords:  
Status Whiteboard: 
Opened: 2004-05-21 09:39 0000
Description:   Opened: 2004-05-21 09:39 0000
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 From Stefan Briesenick 2004-05-21 09:43:32 0000 -------
Created an attachment (id=31799) [details]
caps-plugins-0.1.10.ebuild.patch

patch for media-plugins/caps-plugins-0.1.10.ebuild

------- Comment #2 From Tom Martin (RETIRED) 2004-07-06 11:32:58 0000 -------
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!