From: Matthew Wilcox Date: Fri, 3 Mar 2017 17:28:37 +0000 (-0500) Subject: radix tree test suite: Specify -m32 in LDFLAGS too X-Git-Tag: v4.11-rc2~36^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f0f3f2d0a3e0f7c48163fd8b45f5909d46e7f371;p=users%2Fdwmw2%2Flinux.git 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 Signed-off-by: Matthew Wilcox --- diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile index 4c6289c5d4159..6a9480c03cbdf 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)