Skip to content

Commit

Permalink
Xcode release build compilation fixes
Browse files Browse the repository at this point in the history
Normalize LLVM_LTO setting as differences lean to new linker's failures.

Fix a missing MACOS_BUILD_WITHOUT_APPKIT.

Remove conflicting INFOPLIST_KEY_CFBundleDisplayName.
  • Loading branch information
vslavik committed Sep 15, 2024
1 parent 1c9122a commit 44ae6f9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Poedit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2009,8 +2009,8 @@
ENABLE_TESTABILITY = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"wxUSE_GUI=0",
"$(inherited)",
MACOS_BUILD_WITHOUT_APPKIT,
"$(inherited)",
);
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
Expand Down Expand Up @@ -2056,7 +2056,6 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = src/quicklook/InfoThumbnails.plist;
INFOPLIST_KEY_CFBundleDisplayName = QuicklookThumbnails;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
Expand Down Expand Up @@ -2091,8 +2090,8 @@
ENABLE_NS_ASSERTIONS = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
"wxUSE_GUI=0",
"$(inherited)",
MACOS_BUILD_WITHOUT_APPKIT,
"$(inherited)",
);
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
Expand Down Expand Up @@ -2308,7 +2307,7 @@
deps/cld2,
"$(inherited)",
);
LLVM_LTO = YES;
LLVM_LTO = YES_THIN;
MACOSX_DEPLOYMENT_TARGET = 10.14;
POEDIT_FEATURES = "";
POEDIT_VERSION = "";
Expand Down Expand Up @@ -2393,8 +2392,8 @@
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_PREPROCESSOR_DEFINITIONS = (
"wxUSE_GUI=0",
"$(inherited)",
MACOS_BUILD_WITHOUT_APPKIT,
"$(inherited)",
);
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
Expand Down Expand Up @@ -2427,6 +2426,7 @@
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_PREPROCESSOR_DEFINITIONS = (
"wxUSE_GUI=0",
MACOS_BUILD_WITHOUT_APPKIT,
"$(inherited)",
);
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
Expand Down Expand Up @@ -2471,7 +2471,6 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = src/quicklook/InfoThumbnails.plist;
INFOPLIST_KEY_CFBundleDisplayName = QuicklookThumbnails;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
Expand Down

0 comments on commit 44ae6f9

Please sign in to comment.