blob: ca2a1f6430e3c0cdeae4dbd27cc5e223883ba1eb [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001From 231eb4c75fbfaaf90bca7702bdaf55cf701a3527 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: Alistair Francis <alistair.francis@wdc.com>
3Date: Mon, 23 Jul 2018 11:23:39 -0700
4Subject: [PATCH] jemalloc/jemalloc.cfg: Specify the host when building
5 jemalloc
6
7To avoid this error:
8 configure: error: cannot run C compiled programs.
9 If you meant to cross compile, use `--host'.
10when cross compiling specify the host when configuring jemalloc.
11
12Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
13Upstream-Status: Inappropriate [configuration]
14---
15 src/jemalloc/jemalloc.cfg | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/jemalloc/jemalloc.cfg b/src/jemalloc/jemalloc.cfg
19index 196129de6..79ebbab1c 100644
20--- a/src/jemalloc/jemalloc.cfg
21+++ b/src/jemalloc/jemalloc.cfg
22@@ -3,3 +3,4 @@
23 --with-private-namespace=je_vmem_
24 --disable-xmalloc
25 --disable-munmap
26+--host=${HOST_SYS}
27--
Brad Bishop26bdd442019-08-16 17:08:17 -0400282.14.4
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029