diff options
author | Olivier Crete <olivier.crete@collabora.com> | 2018-04-27 14:43:56 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-05-05 13:07:56 +0200 |
commit | 615d08dbc33ebe114c6f9bd3c1e3a6effca79a8b (patch) | |
tree | 727afde5b42801bdcb102a151b442c95004e464b /recipes/libsrtp | |
parent | 4e9325567510c1448915fb35ebbaa1cd9e2c52b6 (diff) |
ios: Build with -fembed-bitcode
Diffstat (limited to 'recipes/libsrtp')
-rw-r--r-- | recipes/libsrtp/0002-ios-Remove-flags-incompatible-with-fembed-bitcode.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/libsrtp/0002-ios-Remove-flags-incompatible-with-fembed-bitcode.patch b/recipes/libsrtp/0002-ios-Remove-flags-incompatible-with-fembed-bitcode.patch new file mode 100644 index 00000000..643ccaf5 --- /dev/null +++ b/recipes/libsrtp/0002-ios-Remove-flags-incompatible-with-fembed-bitcode.patch @@ -0,0 +1,27 @@ +From 99d4031733eb30e614b4374b441102781315d065 Mon Sep 17 00:00:00 2001 +From: Olivier Crete <olivier.crete@collabora.com> +Date: Fri, 27 Apr 2018 14:19:45 -0400 +Subject: [PATCH 2/2] ios: Remove flags incompatible with -fembed-bitcode + +--- + Makefile.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index c0a67be..315bebf 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -98,8 +98,8 @@ SHAREDLIBSUFFIXNOVER = dll + SHAREDLIBSUFFIX = $(SHAREDLIBSUFFIXNOVER) + else ifeq (darwin,$(findstring darwin,@host@)) + SHAREDLIB_DIR = $(libdir) +-SHAREDLIB_LDFLAGS = -dynamiclib -twolevel_namespace -undefined dynamic_lookup \ +- -fno-common -headerpad_max_install_names -install_name $(libdir)/$@ ++SHAREDLIB_LDFLAGS = -dynamiclib -twolevel_namespace \ ++ -fno-common -install_name $(libdir)/$@ + SHAREDLIBSUFFIXNOVER = dylib + SHAREDLIBSUFFIX = $(SHAREDLIBVERSION).$(SHAREDLIBSUFFIXNOVER) + endif +-- +2.15.1 (Apple Git-101) + |