From f23f8970cc31c4fe8ee5690cf345303aab9419f5 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Fri, 10 Jun 2022 16:43:27 -0700 Subject: [PATCH] [VGMStream] Change libvgmstream optimization level Optimization level bugs now affect Apple Silicon release builds, so reduce optimization level there as well. Signed-off-by: Christopher Snowhill --- Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj b/Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj index 2801263d6..ab913fac7 100644 --- a/Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj +++ b/Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj @@ -3281,6 +3281,7 @@ GCC_C_LANGUAGE_STANDARD = gnu99; GCC_ENABLE_OBJC_EXCEPTIONS = YES; GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 1; GCC_PREPROCESSOR_DEFINITIONS = ( BUILD_VGMSTREAM, "VAR_ARRAYS=1", @@ -3370,7 +3371,6 @@ ../mpg123, ); FRAMEWORK_VERSION = A; - "GCC_OPTIMIZATION_LEVEL[arch=x86_64]" = 1; HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,