[libc] Fix amdgpu startup code flags
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 22 Feb 2023 17:36:12 +0000 (11:36 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 22 Feb 2023 17:38:26 +0000 (11:38 -0600)
commit6641f8da73aee7afebeaab572871dcb737d9f340
tree19ffedf1b4e66f56560fc99236c35a03618afb0b
parent24d144571dbffc6993d13fb7ca781248eed024de
[libc] Fix amdgpu startup code flags

Summary:
Currently AMDGPU only barely supports cross-TU ELF linking. Full linking
is usually done via LTO. This requires passing the architecture to the
link job. This is done automatically via `-flto` since D144505. Add this
to the link options.
libc/startup/gpu/amdgpu/CMakeLists.txt