Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51670 - Patch for media-plugins/caps-plugins-0.1.10 to compile on amd64
Summary: Patch for media-plugins/caps-plugins-0.1.10 to compile on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-21 09:39 UTC by Stefan Briesenick (RETIRED)
Modified: 2004-07-06 11:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
caps-plugins-0.1.10.ebuild.patch (caps-plugins-0.1.10.ebuild.patch,455 bytes, patch)
2004-05-21 09:43 UTC, Stefan Briesenick (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!