New comment by lane-brain on void-packages repository https://github.com/void-linux/void-packages/pull/28785#issuecomment-782252147 Comment: @ericonr good to see that the checks were successful on all the cross builds. some last notes on what I changed: 1. It seems _CROSS_ is only defined for cross builds, so plugging this in everywhere broke the build. I retained the _target_triplet case block but moved it from the template header to do_configure because it's only needed at that build stage. 2. All the files needed for this package start with libgccjit, so I had the make scripts handle the install to DESTDIR and then it was easy to write a line for our crowd favorite `find` to delete all the files that we didn't need. xbps-src takes care of the empty directories. That section is nice and compact now.