Revert "All: Remove libm from list of libraries to explicitly link against", broke minimalistic ports, e.g. perf
Revert "All: Remove libm from list of libraries to explicitly link against", broke minimalistic ports, e.g. perf

This reverts commit 9bc4dafe56a572d93fc39325038c5d90d1651f2d.

mgba-emu/mgba,iracigt/mgba,askotx/mgba,iracigt/mgba,sergiobenrocha2/mgba,mgba-emu/mgba,jeremyherbert/mgba,iracigt/mgba,zerofalcon/mgba,Touched/mgba,jeremyherbert/mgba,Iniquitatis/mgba,fr500/mgba,mgba-emu/mgba,Touched/mgba,cassos/mgba,Anty-Lemon/mgba,zerofalcon/mgba,AdmiralCurtiss/mgba,askotx/mgba,bentley/mgba,libretro/mgba,askotx/mgba,jeremyherbert/mgba,Anty-Lemon/mgba,AdmiralCurtiss/mgba,cassos/mgba,sergiobenrocha2/mgba,Iniquitatis/mgba,fr500/mgba,MerryMage/mgba,iracigt/mgba,Iniquitatis/mgba,libretro/mgba,jeremyherbert/mgba,Iniquitatis/mgba,matthewbauer/mgba,Anty-Lemon/mgba,Touched/mgba,libretro/mgba,sergiobenrocha2/mgba,zerofalcon/mgba,nattthebear/mgba,AdmiralCurtiss/mgba,matthewbauer/mgba,fr500/mgba,libretro/mgba,Anty-Lemon/mgba,mgba-emu/mgba,MerryMage/mgba,nattthebear/mgba,fr500/mgba,sergiobenrocha2/mgba,MerryMage/mgba,askotx/mgba,sergiobenrocha2/mgba,bentley/mgba,cassos/mgba,libretro/mgba