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

Bug 332603

Summary: sys-apps/ccs-tools does not respect LDFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: MATSUU Takuto (RETIRED) <matsuu>
Status: RESOLVED FIXED    
Severity: QA CC: 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 ccs-tools-1.7.2_p20100401.ebuild to extend the sed changes so upstream Makefile respects LDFLAGS

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.