mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 01:03:19 +02:00
Allow building libnode on aarch64
This commit is contained in:
parent
c7fd18059e
commit
a5bbe91b12
1 changed files with 6 additions and 2 deletions
|
@ -101,9 +101,13 @@ class libnodeConan(ConanFile):
|
|||
args += self.__add_shared("zlib", "zlib")
|
||||
|
||||
args.append("" if self.settings.build_type == "Release" else "--debug")
|
||||
args.append("--dest-cpu=%s" % self.settings.arch)
|
||||
if self.settings.arch == "armv8":
|
||||
args.append("--dest-cpu=arm64")
|
||||
else:
|
||||
args.append("--dest-cpu=%s" % self.settings.arch)
|
||||
|
||||
if self.settings.os == "Linux":
|
||||
if self.settings.os == "Linux" and self.settings.arch != "armv8":
|
||||
# node doesn't build with the gdb argument on aarch64
|
||||
args.append("--gdb")
|
||||
|
||||
if self.settings.os == "Windows":
|
||||
|
|
Loading…
Reference in a new issue