Taking another shot at making USE=custom-tune do what it's supposed to
do. The project's targets don't depend on ecm-params.h, so after we
generate them, we need to "emake clean" and rebuild everything
manually in order to use the custom parameters.
Bug: https://bugs.gentoo.org/711078
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
# One "emake" was needed to build the library. Now we can find
# the best set of parameters, and then run "emake" one more time
# to rebuild the library with the custom parameters. See the
- # project's README or INSTALL-ecm
- emake ecm-params && emake
+ # project's README or INSTALL-ecm. The build targets don't depend
+ # on ecm-params.h, so we need to "make clean" to force a rebuild.
+ emake ecm-params && emake clean && emake
fi
}
src_configure() {