diff options
author | Marek Gilbert <mcg@google.com> | 2018-06-15 15:07:08 -0700 |
---|---|---|
committer | Marek Gilbert <mcg@google.com> | 2018-06-15 16:07:58 -0700 |
commit | 0b77f5a68fb983ff9a3f6232c6025282ed8a89e8 (patch) | |
tree | 56ea0b145faea964b7da3332f7e897ebe70f04c4 /Firestore | |
parent | 892288d5236e20ac31b68b7d4f508cb59b3e77a2 (diff) |
Move -D flags into GCC_PREPROCESSOR_DEFINITIONS
Diffstat (limited to 'Firestore')
-rw-r--r-- | Firestore/Example/ProtobufCpp.podspec | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Firestore/Example/ProtobufCpp.podspec b/Firestore/Example/ProtobufCpp.podspec index 8090b1e..eb90ca6 100644 --- a/Firestore/Example/ProtobufCpp.podspec +++ b/Firestore/Example/ProtobufCpp.podspec @@ -51,7 +51,10 @@ Pod::Spec.new do |s| # Set a CPP symbol so the code knows to use framework imports. s.pod_target_xcconfig = { - 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1', + 'GCC_PREPROCESSOR_DEFINITIONS' => + '$(inherited) ' + + 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ' + + 'HAVE_PTHREAD=1', 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/ProtobufCpp/src"', # Cocoapods flattens header imports, leading to much anguish. The @@ -59,8 +62,6 @@ Pod::Spec.new do |s| # - https://github.com/CocoaPods/CocoaPods/issues/1437 'USE_HEADERMAP' => 'NO', 'ALWAYS_SEARCH_USER_PATHS' => 'NO', - - 'OTHER_CFLAGS' => '-DHAVE_PTHREAD' } s.requires_arc = false |