Setting LIBS in make.conf causes the build to fail by trying to use "-l$LIBS". Reproducible: Always Steps to Reproduce: 1. LIBS="-lm" emerge sys-libs/efivars 2. Notice the failure 3. Notice the "-l-lm" where the failure occurred. Actual Results: emerge fails Expected Results: emerge gives me a hug.
So... why are you setting LIBS in make.conf?
More than one package would complain about not being able to find some math function. Using `LIBS="-lm"` took care of that.
(In reply to Nolan Eakins from comment #2) > More than one package would complain about not being able to find some math > function. Using `LIBS="-lm"` took care of that. Please file bugs for those packages. Setting LIBS="-lm" is likely to break other random packages, as you have seen. I will take a look at efivar to see if this is an easy fix anyway.
commit 6723e43b6a141a2b49e6bb8f4052cd52d9de4db3 Author: Mike Gilbert <floppym@gentoo.org> Date: Sat Oct 3 14:03:03 2015 -0400 sys-libs/efivar: Unset LIBS Bug: https://bugs.gentoo.org/562004 Package-Manager: portage-2.2.22_p5