Not a problem. We tried to come up with a solution for older macOS versions but Homebrew and MacPorts didn't want to throw things out of sync with the OS even though it's fairly common on Windows and Linux.
Incidentally, the compile speeds on the M1 are great. I have a Mac mini M1 with 16 GB of RAM and it compiles in the vicinity of twice as fast as my 2020 MacBook Pro with the fastest build-to-order Core i7.