summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2017-03-03 18:28:37 +0100
committerMatthew Wilcox <mawilcox@microsoft.com>2017-03-07 19:18:24 +0100
commitf0f3f2d0a3e0f7c48163fd8b45f5909d46e7f371 (patch)
treea67d109937531a67786191a59a2a4f5451e2a645
parentida: Free correct IDA bitmap (diff)
downloadlinux-f0f3f2d0a3e0f7c48163fd8b45f5909d46e7f371.tar.xz
linux-f0f3f2d0a3e0f7c48163fd8b45f5909d46e7f371.zip
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>
-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)