Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix external/libelf on AppleSilicon
Keve committed 1 year ago
commit 4cecd58dbf789dbccb54a274e211a08b7bb81694
parent 9b27224cbe5bbb704860d769ca5b949f89ed9bb5
1 file changed +4 -0
modified external/libelf/_libelf_config.h
@@ -36,6 +36,10 @@
#define	LIBELF_ARCH		EM_386
#define	LIBELF_BYTEORDER	ELFDATA2LSB
#define	LIBELF_CLASS		ELFCLASS32
+
#elif   defined(__aarch64__)
+
#define LIBELF_ARCH             EM_AARCH64
+
#define LIBELF_BYTEORDER        ELFDATA2LSB
+
#define LIBELF_CLASS            ELFCLASS64
#endif

#endif	/* __DragonFly__ */