mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
ec81952234
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
30 lines
892 B
Diff
30 lines
892 B
Diff
From 2a22dc96c3bbb5c9bbcc008f58d4f5c64e3d19e6 Mon Sep 17 00:00:00 2001
|
|
From: Alistair Francis <alistair.francis@wdc.com>
|
|
Date: Mon, 23 Jul 2018 11:23:39 -0700
|
|
Subject: [PATCH] jemalloc/jemalloc.cfg: Specify the host when building
|
|
jemalloc
|
|
|
|
To avoid this error:
|
|
configure: error: cannot run C compiled programs.
|
|
If you meant to cross compile, use `--host'.
|
|
when cross compiling specify the host when configuring jemalloc.
|
|
|
|
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
|
|
Upstream-Status: Inappropriate [configuration]
|
|
---
|
|
src/jemalloc/jemalloc.cfg | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/jemalloc/jemalloc.cfg b/src/jemalloc/jemalloc.cfg
|
|
index 196129de6..79ebbab1c 100644
|
|
--- a/src/jemalloc/jemalloc.cfg
|
|
+++ b/src/jemalloc/jemalloc.cfg
|
|
@@ -3,3 +3,4 @@
|
|
--with-private-namespace=je_vmem_
|
|
--disable-xmalloc
|
|
--disable-munmap
|
|
+--host=${HOST_SYS}
|
|
--
|
|
2.17.1
|
|
|