Erlang R15B02 is out. I've reported upstream the bug with LDFLAGS being ignored on odbcserver. Reproducible: Always
Suggesting bug #434870 as blocker for this one. Bug #434832 is also worth a look, although it shouldn't be made a blocker.
I took into consideration both bugs and updated my ebuild accordingly.
I've put this into the tree, thanks!