From b01291bd65838328b3ee8fb159f0b3a8332546c2 Mon Sep 17 00:00:00 2001 From: Max-Heinrich Laves Date: Sat, 10 Apr 2021 19:40:12 +0200 Subject: [PATCH 1/2] removed arch check, compiles native for arm64 and x86 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index db3f296..4906b86 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,6 @@ VERSION=2.2 CC=llvm-g++ PACKAGE_BUILD=/usr/bin/pkgbuild -ARCH_FLAGS=-arch x86_64 .PHONY: build @@ -22,7 +21,7 @@ RDM.app: SetResX Resources Info.plist monitor.icns SetResX: main.o SRApplicationDelegate.o ResMenuItem.o cmdline.o utils.o - $(CC) $^ -o $@ $(ARCH_FLAGS) -framework Foundation -framework ApplicationServices -framework AppKit + $(CC) $^ -o $@ -framework Foundation -framework ApplicationServices -framework AppKit clean: From 0c11a8a7296db950a0306cb0402cf378a94ca62b Mon Sep 17 00:00:00 2001 From: mlaves Date: Wed, 9 Feb 2022 19:16:00 +0100 Subject: [PATCH 2/2] fixed utils.h for macOS 12.0 --- utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils.h b/utils.h index 8940c38..c1db993 100644 --- a/utils.h +++ b/utils.h @@ -1,4 +1,5 @@ - +#import +#import typedef union {