]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
radix tree test suite: Specify -m32 in LDFLAGS too
authorMatthew Wilcox <mawilcox@microsoft.com>
Fri, 3 Mar 2017 17:28:37 +0000 (12:28 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 7 Mar 2017 18:18:24 +0000 (13:18 -0500)
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>
tools/testing/radix-tree/Makefile

index 4c6289c5d415983afd7b38af51f832b40cdd1e11..6a9480c03cbdfce0ae5e29e32f2cedcc342d66e1 100644 (file)
@@ -13,6 +13,7 @@ endif
 
 ifeq ($(BUILD), 32)
        CFLAGS += -m32
+       LDFLAGS += -m32
 endif
 
 targets: mapshift $(TARGETS)