amshafer / nvidia-driver

Fork of the Nvidia FreeBSD driver to port the nvidia-drm.ko module from Linux
44 stars 5 forks source link

nvidia-drm: Fix build with ccache #17

Closed BSDKaffee closed 1 year ago

BSDKaffee commented 1 year ago

If ${CC} has spaces, as it does when using ccache, conftest.sh interprets each substring as another argument. This leads to build failure due to the conftest headers being generated as empty files.