From 5218d39aa8ae0415c47dc50178fb7107af7af844 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Sat, 27 May 2023 14:49:05 -0400 Subject: [PATCH] Fix tvos build --- Makefile.libretro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 036c41f..0cd567c 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -134,6 +134,8 @@ else ifeq ($(platform), tvos-arm64) ifeq ($(IOSSDK),) IOSSDK := $(shell xcodebuild -version -sdk appletvos Path) endif + CC = clang -arch arm64 -isysroot $(IOSSDK) + CXX = clang++ -arch arm64 -isysroot $(IOSSDK) # Theos iOS else ifeq ($(platform), theos_ios)