fix: Remove unused -GCC_WARN_INHIBIT_ALL_WARNINGS flag

This flag was being ignored in clang in Xcode 15 and below, but is now
an error in Xcode 16 and above.
pull/36904/head
Sergio Campamá 6 months ago
parent 8564f72e8e
commit 2c9839376b
No known key found for this signature in database
  1. 2
      src/objective-c/BoringSSL-GRPC.podspec
  2. 2
      templates/src/objective-c/BoringSSL-GRPC.podspec.template

@ -106,7 +106,7 @@ Pod::Spec.new do |s|
# We don't need to inhibit all warnings; only -Wno-shorten-64-to-32. But Cocoapods' linter doesn't
# want that for some reason.
s.compiler_flags = '-DOPENSSL_NO_ASM', '-GCC_WARN_INHIBIT_ALL_WARNINGS', '-w', '-DBORINGSSL_PREFIX=GRPC'
s.compiler_flags = '-DOPENSSL_NO_ASM', '-w', '-DBORINGSSL_PREFIX=GRPC'
s.requires_arc = false
# Like many other C libraries, BoringSSL has its public headers under `include/<libname>/` and its

@ -137,7 +137,7 @@
# We don't need to inhibit all warnings; only -Wno-shorten-64-to-32. But Cocoapods' linter doesn't
# want that for some reason.
s.compiler_flags = '-DOPENSSL_NO_ASM', '-GCC_WARN_INHIBIT_ALL_WARNINGS', '-w', '-DBORINGSSL_PREFIX=GRPC'
s.compiler_flags = '-DOPENSSL_NO_ASM', '-w', '-DBORINGSSL_PREFIX=GRPC'
s.requires_arc = false
# Like many other C libraries, BoringSSL has its public headers under `include/<libname>/` and its

Loading…
Cancel
Save