Skip to content

Commit

Permalink
Merge pull request #12834 from muxi/backport-12772
Browse files Browse the repository at this point in the history
Backport #12772: Fix Xcode warning of mis-aligned structs
  • Loading branch information
muxi committed Oct 5, 2017
2 parents 6524d87 + fb4cb27 commit ec8253b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gRPC-Core.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Pod::Spec.new do |s|
# build.
'USE_HEADERMAP' => 'NO',
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
'GCC_PREPROCESSOR_DEFINITIONS' => '"$(inherited)" "COCOAPODS=1" "PB_NO_PACKED_STRUCTS=1"',
}

s.default_subspecs = 'Interface', 'Implementation'
Expand Down
1 change: 1 addition & 0 deletions templates/gRPC-Core.podspec.template
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
# build.
'USE_HEADERMAP' => 'NO',
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
'GCC_PREPROCESSOR_DEFINITIONS' => '"$(inherited)" "COCOAPODS=1" "PB_NO_PACKED_STRUCTS=1"',
}

s.default_subspecs = 'Interface', 'Implementation'
Expand Down

0 comments on commit ec8253b

Please sign in to comment.