From dfcb5b09a42c37e30d644318950f57ec574374f7 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Mon, 27 Nov 2023 09:14:19 -0500 Subject: [PATCH] iOS/tvOS: minor xcode cleanup This hopefully makes debug and release easier to manage by making their C flags the same and moving the differences to the preprocessor macros. --- pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj b/pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj index c762bdf503b..6a6892b3dd2 100644 --- a/pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj +++ b/pkg/apple/RetroArch_iOS13.xcodeproj/project.pbxproj @@ -2140,6 +2140,10 @@ ENABLE_BITCODE = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + NDEBUG, + "NS_BLOCK_ASSERTIONS=1", + ); GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_VARIABLE = YES; @@ -2227,8 +2231,6 @@ "-DHAVE_ZLIB", "-DINLINE=inline", "-DIOS", - "-DNDEBUG", - "-DNS_BLOCK_ASSERTIONS=1", "-DRARCH_INTERNAL", "-DRARCH_MOBILE", "-DRC_DISABLE_LUA",