summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Schmidt <oneguynick@gmail.com>2017-10-19 09:21:24 -0400
committerGitHub <noreply@github.com>2017-10-19 09:21:24 -0400
commit65ac61b2ea49cefb5e283324e1c17d41e086018b (patch)
tree672de30ca7cbcddc81fc43aec0df4243fd9707f2
parent782b2b1514e195cd006374a71aceedae609f0421 (diff)
downloadinfinitytier-65ac61b2ea49cefb5e283324e1c17d41e086018b.tar.gz
infinitytier-65ac61b2ea49cefb5e283324e1c17d41e086018b.zip
Update make-linux.mk to include support for Armv7l
When running ArchlinuxARM with 64bit support on Raspberry Pi3, the default build fails due to the architecture look-up at the beginning of the build process. A simple addition of the Armv7l section above allows the build to continue and successfully run.
-rw-r--r--make-linux.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-linux.mk b/make-linux.mk
index 87d29afe..db85a89f 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -130,6 +130,11 @@ ifeq ($(CC_MACH),armv7)
override DEFS+=-DZT_NO_TYPE_PUNNING
ZT_USE_ARM32_NEON_ASM_SALSA2012=1
endif
+ifeq ($(CC_MACH),armv7l)
+ ZT_ARCHITECTURE=3
+ override DEFS+=-DZT_NO_TYPE_PUNNING
+ ZT_USE_ARM32_NEON_ASM_SALSA2012=1
+endif
ifeq ($(CC_MACH),arm64)
ZT_ARCHITECTURE=4
override DEFS+=-DZT_NO_TYPE_PUNNING