radix tree test suite: Build 32 bit binaries
authorRehas Sachdeva <aquannie@gmail.com>
Mon, 27 Feb 2017 13:49:00 +0000 (08:49 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 7 Mar 2017 18:18:21 +0000 (13:18 -0500)
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>
tools/testing/radix-tree/Makefile

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