Skip to content
Snippets Groups Projects
Commit 7a044538 authored by David's avatar David Committed by Steve Lhomme
Browse files

contrib: breakpad: Fix build with newest Xcode

The latest Xcode 14 / macOS 13 SDK declares quite a bunch of c calls as
deprecated for security reasons, like sprintf, which makes compilation
failing. Disable "-Werror" for Breakpad builds, to downgrade those errors to
warnings.

fixes #26859
parent 4cca6109
No related branches found
No related tags found
1 merge request!3238contrib: breakpad: Fix build with newest Xcode
Pipeline #311530 passed with stage
in 1 hour, 7 minutes, and 13 seconds
......@@ -16,6 +16,7 @@ $(TARBALLS)/breakpad-$(BREAKPAD_VERSION).tar.gz:
breakpad: breakpad-$(BREAKPAD_VERSION).tar.gz .sum-breakpad
$(UNPACK)
$(APPLY) $(SRC)/breakpad/0001-mac-client-Upgrade-Breakpad.xib-to-new-format.patch
sed -i.orig -e "s/GCC_TREAT_WARNINGS_AS_ERRORS = YES/GCC_TREAT_WARNINGS_AS_ERRORS = NO/" "$(UNPACK_DIR)/src/common/mac/Breakpad.xcconfig"
$(MOVE)
BREAKPAD_CONF := --disable-processor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment