summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2017-04-08 21:40:39 -0400
committerQuentin Carbonneaux <quentin@c9x.me>2017-04-08 22:10:01 -0400
commitf4ddc9e54ed589b8d168cd39ebf2a5572b32431b (patch)
tree2d039c10d5ab9d17c1274fbffd75d793a3e3b1ad /Makefile
parente4bc35149cc790e3ad034f6643f75c33765b142c (diff)
downloadroux-f4ddc9e54ed589b8d168cd39ebf2a5572b32431b.tar.gz
enable arm64 tests
The vararg tests had to be changed because
va_list is 32-bit wide on arm.  The astute
reader will notice that the way we pass
va_list values is wrong, we should be using
the ':valist' type as defined below instead
of 'l'.  But eh, that works for now, because
of the ABI.

    type :valist = align 8 { 32 }
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 45e4b50..6fc7d07 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,9 @@ clean-gen: clean
 check: $(OBJDIR)/$(BIN)
 	tools/test.sh all
 
+check-arm64: $(OBJDIR)/$(BIN)
+	TARGET=arm64 tools/test.sh all
+
 80:
 	@for F in $(SRCALL);                       \
 	do                                         \
@@ -79,4 +82,4 @@ check: $(OBJDIR)/$(BIN)
 		}" < $$F;                          \
 	done
 
-.PHONY: clean clean-gen check 80 install uninstall
+.PHONY: clean clean-gen check check-arm64 80 install uninstall