From a8ab2f15a99897b846d9ac332eb1ee3ca9d553ac Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Sat, 27 May 2023 16:55:40 -0400 Subject: [PATCH] Fix tvos build --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 54667cb3..bef904a3 100644 --- a/Makefile +++ b/Makefile @@ -148,6 +148,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) CFLAGS += -DIOS -DIOS_ARM64 # iOS Theos