From b4f6c8d773b3cf06074efbb708cfa29924c940c1 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 4 Nov 2023 14:57:26 +0100 Subject: [PATCH] Try to get libromfs to build again --- dist/macOS/macos_arm_toolchain.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/macOS/macos_arm_toolchain.cmake b/dist/macOS/macos_arm_toolchain.cmake index a1180129a..f9a9a985b 100644 --- a/dist/macOS/macos_arm_toolchain.cmake +++ b/dist/macOS/macos_arm_toolchain.cmake @@ -5,5 +5,5 @@ SET(CMAKE_OSX_SYSROOT macosx CACHE INTERNAL "" FORCE) set(NATIVE_CMAKE_C_COMPILER ${CMAKE_C_COMPILER}) set(NATIVE_CMAKE_CXX_COMPILER ${CMAKE_CXX_COMPILER}) -set(CMAKE_C_FLAGS "") -set(CMAKE_CXX_FLAGS "") +set(NATIVE_CMAKE_C_FLAGS "-target x86_64-apple-macos12.7") +set(NATIVE_CMAKE_CXX_FLAGS "-target x86_64-apple-macos12.7")