Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Use the same linker flags as NVIDIA Container Toolkit
The previous commit explains how the NVIDIA Container Toolkit is sensitive to some linker flags. Therefore, use the same linker flags that are used by NVIDIA Container Toolkit to build the nvidia-cdi-hook, nvidia-ctk, etc. binaries, because they use the same Go APIs that toolbox(1) does [1]. It's better to use the same build configuration to prevent subtle bugs from creeping in. [1] NVIDIA Container Toolkit commit 772cf77dcc2347ce NVIDIA/nvidia-container-toolkit@772cf77dcc2347ce NVIDIA/nvidia-container-toolkit#333 containers#1548
- Loading branch information