Browse Source

radix tree test suite: Build 32 bit binaries

Add option 'make BUILD=32' for building 32-bit binaries.

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Rehas Sachdeva 8 years ago
parent
commit
c4634b08d9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tools/testing/radix-tree/Makefile

+ 4 - 0
tools/testing/radix-tree/Makefile

@@ -10,6 +10,10 @@ ifndef SHIFT
 	SHIFT=3
 endif
 
+ifeq ($(BUILD), 32)
+	CFLAGS += -m32
+endif
+
 targets: mapshift $(TARGETS)
 
 main:	$(OFILES)