Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334453 - x11-plugins/gkrellmwireless does not respect LDFLAGS
Summary: x11-plugins/gkrellmwireless does not respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2010-08-25 14:47 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-01-25 16:13 UTC (History)
2 users (show)

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


Attachments
Build log (gkrellmwireless-2.0.3:20100825-143708.log,1.82 KB, text/plain)
2010-08-25 14:47 UTC, Diego Elio Pettenò (RETIRED)
Details
Patch to gkrellmwireless-2.0.3.ebuild to address LDFLAGS issue and minor other QA issues (gkrellmwireless-2.0.3.ebuild.patch,784 bytes, patch)
2010-08-29 22:38 UTC, Kevin Pyle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-25 14:47:07 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-25 14:47:33 UTC
Created attachment 244555 [details]
Build log
Comment 2 Kevin Pyle 2010-08-29 22:38:33 UTC
Created attachment 245277 [details, diff]
Patch to gkrellmwireless-2.0.3.ebuild to address LDFLAGS issue and minor other QA issues

This patch modifies the ebuild to add a src_prepare that:

- Changes the compiler from 'gcc' to the result of $(tc-getCC), so that cross-compilation works.
- Moves user CFLAGS to be after package CFLAGS, rather than before.  As it was, the package always specified -O2 after the user flags, so optimization was forced to -O2.
- Adds $(LDFLAGS) to the link line.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2011-01-25 16:13:56 UTC
Thanks again, Kevin. Applied your patch and verified it addresses these issues.

Fixed in x11-plugins/gkrellmwireless-2.0.3-r1