From 95db97d07f056e7c81a9acd15e22c0111bd79b01 Mon Sep 17 00:00:00 2001 From: samuelOsborne Date: Tue, 3 Dec 2024 18:27:48 +0100 Subject: [PATCH] fix: zlib renaming worked, fixing jpeg arch symbols --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 85a536d8..e9e1eb7c 100644 --- a/Makefile +++ b/Makefile @@ -571,7 +571,9 @@ $4/$(CMAKE_CACHE): DEP_SOURCE_DIR := $(DEPS_MODULES_DIR)/$3 $4/$(CMAKE_CACHE): DEP_BUILD_DIR := $4 # Conditionally set CFLAGS if $2 equals LIBJPEG_TURBO and BUILD_PLATFORM_ARCH equals arm64 -$4/$(CMAKE_CACHE): CFLAGS := -arch arm64 +ifeq ($2, LIBJPEG_TURBO) +$4/$(CMAKE_CACHE): CFLAGS := -Wall -arch arm64 -funwind-tables +endif # ifeq ($2, LIBJPEG_TURBO) # ifeq ($(BUILD_PLATFORM_ARCH), arm64) # $4/$(CMAKE_CACHE): CFLAGS := -arch arm64