Getting Architecture Patch

Due to recent aarch64 and ppc64le port patches that have been sent, I have finished up this bit of code for CMake which detects the architecture by probing the compiler.

Carlo and C. Bergström can you two look at this patch and see if it adequately solves the detecting architecture problem for you both and add the proper macro into the GetArchitecture.cmake (this will make sense once you look at the patch)? I would like this to be committed before either port so both ports can use this new patch.

– Johnny

cmake_get_arch.patch (6.36 KB)