summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch')
-rw-r--r--meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch b/meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch
new file mode 100644
index 000000000..747538b0c
--- /dev/null
+++ b/meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch
@@ -0,0 +1,29 @@
1From 2a22dc96c3bbb5c9bbcc008f58d4f5c64e3d19e6 Mon Sep 17 00:00:00 2001
2From: 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--
282.17.1
29