From da33bfabb4e1c62dcfe8b9048fe2557c33b71ad5 Mon Sep 17 00:00:00 2001 From: samuelOsborne Date: Wed, 4 Dec 2024 13:32:18 +0100 Subject: [PATCH] fix: zlib renaming worked, fixing jpeg arch symbols - added arc x86_64 flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7fa010a7..2f2f29da 100644 --- a/Makefile +++ b/Makefile @@ -596,7 +596,7 @@ ifeq ($2, LIBJPEG_TURBO) ifeq ($(findstring x86_64,$($1_DEPS_ARTIFACTS_DIR)),) $4/$(CMAKE_CACHE): C_FLAGS := -DCMAKE_C_FLAGS="-Wall -arch arm64 -funwind-tables" else -$4/$(CMAKE_CACHE): C_FLAGS := -DCMAKE_C_FLAGS="" # Reset to empty if not arm64 +$4/$(CMAKE_CACHE): C_FLAGS := -DCMAKE_C_FLAGS="-Wall -arch x86_64 -funwind-tables" endif else $4/$(CMAKE_CACHE): C_FLAGS := -DCMAKE_C_FLAGS="" # Reset to empty if not LIBJPEG_TURBO