[libc][fix] Only use the object files when targeting NVPTX
Summary: The `nvlink` linker doesn't support static libraries, so we just pass in the object files. The condition was erroneously doing this for every single GPU architecture and not just NVIDIA. The AMDGPU support handles static libraries just fine.
parent
7547d0b6
Please register or sign in to comment