Summary: | x11-plugins/gkrellmwireless does not respect LDFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Jim Ramsay (lack) (RETIRED) <lack> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | desktop-dock, esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 331933 | ||
Attachments: |
Build log
Patch to gkrellmwireless-2.0.3.ebuild to address LDFLAGS issue and minor other QA issues |
Description
Diego Elio Pettenò (RETIRED)
2010-08-25 14:47:07 UTC
Created attachment 244555 [details]
Build log
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.
Thanks again, Kevin. Applied your patch and verified it addresses these issues. Fixed in x11-plugins/gkrellmwireless-2.0.3-r1 |