Skip to content

Commit

Permalink
Allow building libnode on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGro authored and AnotherFoxGuy committed Nov 7, 2023
1 parent b5cebca commit 752e0f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions conan-recipes/libnode/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,13 @@ def build(self):
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":
Expand Down

0 comments on commit 752e0f2

Please sign in to comment.