add crosscompile aarch64 target
This commit is contained in:
parent
816367b235
commit
a66fc42849
1 changed files with 3 additions and 2 deletions
5
build.py
5
build.py
|
|
@ -36,8 +36,6 @@ if options.distro == 'autodetect':
|
||||||
options.distro = 'rpm'
|
options.distro = 'rpm'
|
||||||
if os.path.isdir('/etc/apt'):
|
if os.path.isdir('/etc/apt'):
|
||||||
options.distro = 'deb'
|
options.distro = 'deb'
|
||||||
if options.cross_compile:
|
|
||||||
options.distro = 'win'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -230,6 +228,9 @@ def create_mozconfig(contents):
|
||||||
f.write(contents)
|
f.write(contents)
|
||||||
if not options.distro == 'win':
|
if not options.distro == 'win':
|
||||||
f.write("\nac_add_options --with-app-name=librewolf")
|
f.write("\nac_add_options --with-app-name=librewolf")
|
||||||
|
if options.distro == 'osx' and options.cross_compile:
|
||||||
|
f.write("\nac_add_options --target=aarch64")
|
||||||
|
f.write("\n")
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
def execute_lw_do_patches():
|
def execute_lw_do_patches():
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue