Skip to content

Commit

Permalink
fix: zlib renaming worked, fixing jpeg arch symbols - Reverted, now c…
Browse files Browse the repository at this point in the history
…hecking build platform
  • Loading branch information
samuelOsborne committed Dec 4, 2024
1 parent 5df242f commit efe376b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,10 @@ $4/$(CMAKE_CACHE): DEP_BUILD_DIR := $4
# ifeq ($(BUILD_PLATFORM_ARCH), arm64)

# If the build_platform_arch is NOT empty after filtering for arm64, then set the C_FLAGS
# ifneq ($(filter $(BUILD_PLATFORM_ARCH),$(AARCH64_ARCH) $(ARM_ARCH)),)

ifeq ($2, LIBJPEG_TURBO)
ifneq ($(filter $(BUILD_PLATFORM_ARCH),$(AARCH64_ARCH) $(ARM_ARCH)),)
ifeq ($(findstring $$($1_DEPS_ARTIFACTS_DIR),x86_64),)
$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
Expand Down

0 comments on commit efe376b

Please sign in to comment.