Hi Boyuan,

I was able to reproduce the build error while compiling the tests
on my Raspberry Pi 4.

I was able to fix it by including arm64 in the "buggy archs" list
in debian/rules (see below).

Kind regards,
  Reiner

--- angelscript-2.35.1+ds/debian/rules  2021-10-06 14:09:19.000000000 +0000
+++ angelscript-2.35.1+ds/debian/rules  2021-10-06 14:09:19.000000000 +0000
@@ -13,7 +13,7 @@
 export VERSION := $(shell echo '$(DEB_VERSION_UPSTREAM)' | sed -e 's/\+.*//')
 
 # buggy archs
-ifneq (,$(filter $(DEB_HOST_ARCH), armhf mips64el sparc64 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH), armhf arm64 mips64el sparc64 x32))
   DEB_CXXFLAGS_MAINT_APPEND += -DAS_MAX_PORTABILITY
 endif
 

Attachment: signature.asc
Description: PGP signature

Reply via email to