disabled bitcode support, as deprecated since xcode14

See https://stackoverflow.com/questions/72543728/xcode-14-deprecates-bitcode-but-why
This commit is contained in:
renaud gaudin 2023-11-07 14:00:06 +00:00
parent fbc1ca11f2
commit 09dacaa25e
No known key found for this signature in database
GPG Key ID: 447475A4CFBA2E24
3 changed files with 0 additions and 7 deletions

View File

@ -24,8 +24,6 @@ class Libkiwix(Dependency):
platformInfo = self.buildEnv.platformInfo
if platformInfo.build == 'android':
return '-Dstatic-linkage=true -Dwerror=false'
if platformInfo.build == 'iOS':
return '-Db_bitcode=true'
if platformInfo.name == 'flatpak':
return '--wrap-mode=nodownload'
if platformInfo.mixed and option('target') == 'libkiwix':

View File

@ -30,8 +30,6 @@ class Libzim(Dependency):
if platformInfo.build == 'android':
config_options.append("-DUSE_BUFFER_HEADER=false")
config_options.append("-Dstatic-linkage=true")
if platformInfo.build == 'iOS':
config_options.append("-Db_bitcode=true")
if platformInfo.mixed and option('target') == 'libzim':
config_options.append("-Dstatic-linkage=true")
if platformInfo.name == "flatpak":

View File

@ -40,13 +40,11 @@ class ApplePlatformInfo(PlatformInfo):
'binaries': self.binaries,
'exe_wrapper_def': '',
'extra_libs': [
'-fembed-bitcode',
'-isysroot', self.root_path,
'-arch', self.arch,
'-target', self.target,
],
'extra_cflags': [
'-fembed-bitcode',
'-isysroot', self.root_path,
'-arch', self.arch,
'-target', self.target,
@ -74,7 +72,6 @@ class ApplePlatformInfo(PlatformInfo):
def set_comp_flags(self, env):
super().set_comp_flags(env)
cflags = [
'-fembed-bitcode',
'-isysroot {}'.format(self.root_path),
'-arch {}'.format(self.arch),
'-target {}'.format(self.target),