fix: Remove unused -GCC_WARN_INHIBIT_ALL_WARNINGS flag (#36904)

This flag was being ignored in clang in Xcode 15 and below, but is now an error in Xcode 16 and above.

Closes #36904

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36904 from sergiocampama:master 2c9839376b
PiperOrigin-RevId: 644494816
test_644148181
Sergio Campamá 5 months ago committed by Copybara-Service
parent a3b66f02d7
commit 0edaaafef8
  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