Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 1 | From 231eb4c75fbfaaf90bca7702bdaf55cf701a3527 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | From: Alistair Francis <alistair.francis@wdc.com> |
| 3 | Date: Mon, 23 Jul 2018 11:23:39 -0700 |
| 4 | Subject: [PATCH] jemalloc/jemalloc.cfg: Specify the host when building |
| 5 | jemalloc |
| 6 | |
| 7 | To avoid this error: |
| 8 | configure: error: cannot run C compiled programs. |
| 9 | If you meant to cross compile, use `--host'. |
| 10 | when cross compiling specify the host when configuring jemalloc. |
| 11 | |
| 12 | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> |
| 13 | Upstream-Status: Inappropriate [configuration] |
| 14 | --- |
| 15 | src/jemalloc/jemalloc.cfg | 1 + |
| 16 | 1 file changed, 1 insertion(+) |
| 17 | |
| 18 | diff --git a/src/jemalloc/jemalloc.cfg b/src/jemalloc/jemalloc.cfg |
| 19 | index 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 Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 28 | 2.14.4 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 29 | |