disabled bitcode support, as deprecated since xcode14
See https://stackoverflow.com/questions/72543728/xcode-14-deprecates-bitcode-but-why
This commit is contained in:
parent
fbc1ca11f2
commit
09dacaa25e
|
@ -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':
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue