Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310407 - Gentoo Devmanual - src_compile example for no build system is wrong
Summary: Gentoo Devmanual - src_compile example for no build system is wrong
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Quality Assurance Team
URL: http://devmanual.gentoo.org/ebuild-wr...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-20 17:13 UTC by Doktor Notor
Modified: 2010-04-17 09:14 UTC (History)
1 user (show)

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


Attachments
proposed patch (0001-Fix-examples-for-src_compile-with-no-build-system.patch,3.05 KB, patch)
2010-04-14 00:32 UTC, Dror Levin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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