diff options
author | Rehas Sachdeva <aquannie@gmail.com> | 2017-02-27 14:49:00 +0100 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2017-03-07 19:18:21 +0100 |
commit | c4634b08d9eb9c13be2296230bf33c79390dbf9c (patch) | |
tree | f7462b864335bc08e10a6fa7c097a280987c2ed1 /tools | |
parent | radix tree test suite: Add performance test for radix_tree_join() (diff) | |
download | linux-c4634b08d9eb9c13be2296230bf33c79390dbf9c.tar.xz linux-c4634b08d9eb9c13be2296230bf33c79390dbf9c.zip |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/radix-tree/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile index f11315bedefc..b59c2a9ef778 100644 --- a/tools/testing/radix-tree/Makefile +++ b/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) |