Summary: | compiling media-libs/sdl-mixer-1.2.6 media-libs/sdl-ttf-2.0.7 media-libs/sdl-image-1.2.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Aistleitner <tmgisi> |
Component: | New packages | Assignee: | Gentoo Games <games> |
Status: | VERIFIED REMIND | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2004.3 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
the addon "/etc/portage/bashrc"
the cflags to override -O3 "/etc/portage/package.cflags" |
Description
Christian Aistleitner
2005-01-11 05:47:10 UTC
Dropping -O3 from the CFLAGS solves the problem. The problem is to set the CFLAGS right. Since I want all the other ebuilds to be built with -O3, I used an addon to portage that allows to append flags to the CFLAGS defined in /etc/make.conf (or the cmdline). This addon can be found under http://article.gmane.org/gmane.linux.gentoo.hardened/1204 (But be sure to replace the " <at> " with the at sign. Furthermore I had to alter line 136 from if [[ ${target%%#*} && ${target%% *} =~ "^(${CATEGORY}|${CATEGORY}/${PN})\>" ]]; then to if [[ ${target%% *} =~ "^(${CATEGORY}|${CATEGORY}/${PN})\>" ]]; then .) I attached my version of this addon and my settings of the per package added cflags. Created attachment 48197 [details]
the addon "/etc/portage/bashrc"
Created attachment 48198 [details]
the cflags to override -O3 "/etc/portage/package.cflags"
Closing to clean up after bugzilla upgrade. reopen if closed in error. Thanks. |