Resolve libm symbols in libgap

Package-Manager: portage-2.2.0_alpha173