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>
This commit is contained in:
Rehas Sachdeva 2017-02-27 08:49:00 -05:00 committed by Matthew Wilcox
parent 54f4d3341c
commit c4634b08d9

View File

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