Pkgbuild::compile_dll() on previously working rstantools-based package fails with "file too big" error

My knowledge of the toolchain is also limited but I think you have to change your makevars file.

In this post, someone encountered a similar issue and the solution proposed by @bgoodri was

This seems to have solved the problem.