@samueljohn osmajor is necessary here as GCC uses this to detect specific Darwin version and apply different settings in configure script. Some examples are in the patches at the end of the formula which uses osmajor, and it is hard to check whether the osmajor results in different settings elsewhere in the source, so it is better to keep it here.