Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 0996a58974c464e91a7e0bda6bacd30523dce6bd 1 parent 761f878
David Hart authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.