Browse files

Re-added linker flag to remove warning

The problem is that the linker flag seems to cause an error in the linker when linked into a static library. But it does it's job of disabling the compact unwind warnings when linked into an app. Not sure what's going on here, so adding the flag back in.
  • Loading branch information...
1 parent 761f878 commit 0996a58974c464e91a7e0bda6bacd30523dce6bd David Hart committed Nov 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 libffi/3.0.11/libffi.podspec
View
1 libffi/3.0.11/libffi.podspec
@@ -14,4 +14,5 @@ Pod::Spec.new do |s|
s.preserve_paths = 'src/dlmalloc.c'
s.ios.source_files = 'ios/include/*.h', 'ios/src/arm/*.{c,S}', 'ios/src/x86/{ffi.c,darwin.S}', 'src/{closures,prep_cif,raw_api,types}.c'
s.osx.source_files = 'osx/include/*.h', 'osx/src/x86/{darwin.S,darwin64.S,ffi.c,ffi64.c}', 'src/{closures,prep_cif,raw_api,types}.c'
+ s.xcconfig = { 'OTHER_LDFLAGS' => "-Wl,-no_compact_unwind" }
end

0 comments on commit 0996a58

Please sign in to comment.