add crosscompile aarch64 target

This commit is contained in:
Bert van der Weerd 2021-07-08 11:21:48 +02:00
parent 816367b235
commit a66fc42849
No known key found for this signature in database
GPG key ID: 86F10BA7EFE4A7C1

View file

@ -36,8 +36,6 @@ if options.distro == 'autodetect':
options.distro = 'rpm'
if os.path.isdir('/etc/apt'):
options.distro = 'deb'
if options.cross_compile:
options.distro = 'win'
@ -230,6 +228,9 @@ def create_mozconfig(contents):
f.write(contents)
if not options.distro == 'win':
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()
def execute_lw_do_patches():