1 |
commit: 6e448ccd647949774485572735ee5fca812c8fc6 |
2 |
Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 30 20:01:25 2012 +0000 |
4 |
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 30 20:01:25 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=6e448ccd |
7 |
|
8 |
src_compile: Add note that flag-o-matic eclass is required |
9 |
|
10 |
Fixes #387931 thanks to James Broadhead <jamesbroadhead <AT> gmail.com> |
11 |
|
12 |
--- |
13 |
ebuild-writing/functions/src_compile/text.xml | 3 +++ |
14 |
1 files changed, 3 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/ebuild-writing/functions/src_compile/text.xml b/ebuild-writing/functions/src_compile/text.xml |
17 |
index 75c71de..0c86ba8 100644 |
18 |
--- a/ebuild-writing/functions/src_compile/text.xml |
19 |
+++ b/ebuild-writing/functions/src_compile/text.xml |
20 |
@@ -79,6 +79,9 @@ src_compile() { |
21 |
emake || die "Make failed!" |
22 |
} |
23 |
</codesample> |
24 |
+<note> |
25 |
+You also need to inherit the <uri link="::eclass-reference/flag-o-matic.eclass/">flag-o-matic</uri> eclass in order to use the <c>append-ldflags</c> function. |
26 |
+</note> |
27 |
</body> |
28 |
</subsection> |
29 |
<subsection> |