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

Bug 310407

Summary: Gentoo Devmanual - src_compile example for no build system is wrong
Product: Documentation Reporter: Doktor Notor <notordoktor>
Component: DevmanualAssignee: Gentoo Quality Assurance Team <qa>
Status: RESOLVED FIXED    
Severity: normal CC: spatz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/no-build-system/index.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: proposed patch

Description Doktor Notor 2010-03-20 17:13:38 UTC
1/ The first example ignores LDFLAGS.
2/ The second example hardcodes gcc instead of using $(tc-getCC ) and thus breaks crosscompile
Comment 1 Dror Levin (RETIRED) gentoo-dev 2010-04-14 00:32:14 UTC
Created attachment 227689 [details, diff]
proposed patch
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2010-04-17 09:14:32 UTC
pushed