The src_compile page in the devmanual has references to append-ldflags in the examples, but does not have inherit flag-o-matic, or mention that this is required. It should. Reproducible: Always
per the front page of the devmanual, all bugs against it are to be sent to QA@g.o, not the GDP. reassigning.
http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=6e448ccd647949774485572735ee5fca812c8fc6