From 958db5672154c016c9f6064fce5b23ef59b93bc0 Mon Sep 17 00:00:00 2001 From: m1zole Date: Fri, 21 Mar 2025 13:03:54 +0900 Subject: [PATCH] Makefile: fix building on x86_64 on x86_64, have to run CC="xcrun -sdk iphoneos clang" make --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 02582bf..267e3aa 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CC := clang +CC ?= clang CFLAGS ?= -Wall -Werror $(shell pkg-config --cflags libcrypto) -fPIC -Wno-pointer-to-int-cast -Wno-unused-command-line-argument -Wno-deprecated-declarations -framework CoreFoundation LDFLAGS ?=