Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332603 - sys-apps/ccs-tools does not respect LDFLAGS
Summary: sys-apps/ccs-tools 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: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2010-08-13 12:05 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-03-02 00:36 UTC (History)
1 user (show)

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


Attachments
Build log (ccs-tools-1.7.2_p20100401:20100813-113938.log,13.69 KB, text/plain)
2010-08-13 12:05 UTC, Diego Elio Pettenò (RETIRED)
Details
Patch to ccs-tools-1.7.2_p20100401.ebuild to extend the sed changes so upstream Makefile respects LDFLAGS (ccs-tools-1.7.2_p20100401.ebuild.patch,433 bytes, patch)
2010-08-14 03:49 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-13 12:05:23 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-13 12:05:44 UTC
Created attachment 242757 [details]
Build log
Comment 2 Kevin Pyle 2010-08-14 03:49:07 UTC
Created attachment 242883 [details, diff]
Patch to ccs-tools-1.7.2_p20100401.ebuild to extend the sed changes so upstream Makefile respects LDFLAGS

The upstream Makefile has explicit rules to build each of its targets, and those explicit rules neglect to mention $(LDFLAGS) at all.  Upstream decided to use a single gcc invocation per target binary, without generating intermediate .o files.  Thus, the attached patch adds another transform so that each line which references $(CFLAGS) also includes $(LDFLAGS).  With this patch applied, I see the compilation lines include my chosen LDFLAGS.
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2011-03-02 00:36:38 UTC
in cvs. thanks.