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

Bug 335085

Summary: x11-plugins/gkrellm-mailwatch does not respect LDFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Jim Ramsay (lack) (RETIRED) <lack>
Status: RESOLVED FIXED    
Severity: QA CC: desktop-dock
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: Build log
Patch for gkrellm-mailwatch-2.4.3.ebuild to respect CC, LDFLAGS, and user optimization setting

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-29 03:01:57 UTC
See attached build log.

(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-29 03:02:16 UTC
Created attachment 245187 [details]
Build log
Comment 2 Kevin Pyle 2010-08-30 03:09:11 UTC
Created attachment 245303 [details, diff]
Patch for gkrellm-mailwatch-2.4.3.ebuild to respect CC, LDFLAGS, and user optimization setting

This patch makes the following changes:

- Remove forced -O2.  The Makefile respected user CFLAGS, but appended a fixed -O2 afterward, so compilation was always -O2, regardless of user setting.
- Add $LDFLAGS to link line.
- Export CC via tc-export, so that a host-qualified compiler name is used.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-11-01 14:19:48 UTC
Patched (slightly differently) in x11-plugins/gkrellm-mailwatch-2.4.3-r1