Skip to content

Commit

Permalink
disabled bitcode support, as deprecated since xcode14
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Nov 8, 2023
1 parent 1abc014 commit 65b38f8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions kiwixbuild/dependencies/libkiwix.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def configure_option(self):
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':
Expand Down
2 changes: 0 additions & 2 deletions kiwixbuild/dependencies/libzim.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def configure_option(self):
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":
Expand Down
3 changes: 0 additions & 3 deletions kiwixbuild/platforms/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ def get_cross_config(self):
'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,
Expand Down Expand Up @@ -74,7 +72,6 @@ def get_env(self):
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),
Expand Down

0 comments on commit 65b38f8

Please sign in to comment.