This patch passes in the AMDPGU math libraries to the linker wrapper.
The wrapper already handles linking OpenMP bitcode libraries via the
--target-library option. This should be sufficient to link in math
libraries for the accompanying architecture.
Fixes #53526.
Can you elaborate on this comment, what's bad, how would the better version look