iOS/tvOS: minor compiler flag optimization/cleanup (#16974)

This commit is contained in:
Eric Warmenhoven 2024-09-08 06:10:38 -04:00 committed by GitHub
parent d228c9d469
commit 42f66adbf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -74,6 +74,8 @@ OTHER_CFLAGS = $(inherited) -DINLINE=inline
OTHER_CFLAGS = $(inherited) -DRARCH_INTERNAL
OTHER_CFLAGS = $(inherited) -DRC_DISABLE_LUA
OTHER_CFLAGS = $(inherited) -DWANT_GLSLANG
OTHER_CFLAGS = $(inherited) -DWANT_RAW_DATA_SECTOR=1
OTHER_CFLAGS = $(inherited) -DWANT_SUBCODE=1
OTHER_CFLAGS = $(inherited) -D_7ZIP_ST
OTHER_CFLAGS = $(inherited) -D__LIBRETRO__
@ -81,6 +83,7 @@ OTHER_CFLAGS[arch=x86_64] = $(inherited) -DHAVE_SSE
OTHER_CFLAGS[arch=arm64*] = $(inherited) -D__ARM_NEON__ -DHAVE_NEON
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DFLAC__HAS_OGG=0
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DGL_SILENCE_DEPRECATION
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_COMMAND
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_COREAUDIO3
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_DISCORD

View File

@ -1930,6 +1930,7 @@
DEVELOPMENT_TEAM = UK699V5ZS8;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_FAST_MATH = YES;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
@ -1947,6 +1948,7 @@
"$(PROJECT_DIR)/iOS/modules",
"@executable_path/Frameworks",
);
LLVM_LTO = YES_THIN;
MARKETING_VERSION = 1.19.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
@ -1991,8 +1993,9 @@
DEVELOPMENT_TEAM = UK699V5ZS8;
ENABLE_NS_ASSERTIONS = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_FAST_MATH = YES;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
@ -2007,6 +2010,7 @@
"$(PROJECT_DIR)/iOS/modules",
"@executable_path/Frameworks",
);
LLVM_LTO = YES_THIN;
MARKETING_VERSION = 1.19.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;