Cross-compile build environs usually screw up my normal host environ more than I like, and compete with each other, so I'm putting it in a container.
I'm not sure why a container-based build isn't the default recommendation on the dd-wrt or OpenWrt forums. But here's mine: