avibrazil / RDM

Easily set Mac Retina display to higher unsupported resolutions
4.13k stars 352 forks source link

removed arch check, compiles native for arm64 and x86 #51

Open mlaves opened 3 years ago

mlaves commented 3 years ago

RDM now compiles natively for arm64 (Apple M1, Apple Silicon)

Fixes https://github.com/avibrazil/RDM/issues/55

mlaves commented 2 years ago

RDM now compiles for macOS 12.2.

Fixes #57

Ritbit commented 2 years ago

Why remove the CFLAGS...?

You better replace ARCH_FLAGS=-arch x86_64 with ARCH_FLAGS=-arch x86_64 -arch arm64 so it builds as universal binary.

mlaves commented 2 years ago

What is the need for the arch flags? It compiles just fine as a universal binary without the flags.

Ritbit commented 2 years ago

@mlaves: interesting.. it did not on my buildservers, it only build a binary for the CPU of the system (tried both M1 and Intel systems)

mlaves commented 2 years ago

@Ritbit Okay, then I will add the arch flags back again.