summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2017-03-03 12:28:37 -0500
committerMatthew Wilcox <mawilcox@microsoft.com>2017-03-07 13:18:24 -0500
commitf0f3f2d0a3e0f7c48163fd8b45f5909d46e7f371 (patch)
treea67d109937531a67786191a59a2a4f5451e2a645 /tools
parent4ecd9542dbc3e07f3bd3870aac12839f72b47db4 (diff)
radix tree test suite: Specify -m32 in LDFLAGS too
Michael's patch to use the default make rule for linking and the patch from Rehas to use -m32 if building a 32-bit test-suite on a 64-bit platform don't work well together. Reported-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/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile
index 4c6289c5d415..6a9480c03cbd 100644
--- a/tools/testing/radix-tree/Makefile
+++ b/tools/testing/radix-tree/Makefile
@@ -13,6 +13,7 @@ endif
ifeq ($(BUILD), 32)
CFLAGS += -m32
+ LDFLAGS += -m32
endif
targets: mapshift $(TARGETS)