Patchwork erlang: don't build the Java stuff on the host

login
register
mail settings
Submitter Thomas Petazzoni
Date Sept. 16, 2012, 8:41 p.m.
Message ID <1347828062-24022-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/184151/
State Accepted
Commit 9bf020f54415345a22f11754d8280e4ae8fa8ef4
Headers show

Comments

Thomas Petazzoni - Sept. 16, 2012, 8:41 p.m.
We don't need the Java stuff, and it causes build failures on certain
machines:

 http://autobuild.buildroot.org/results/99035e89e101c41d5e8b5ef6a025856f4af88ae2/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
Note: with this patch, the build of Erlang still works on my
machine. However, I have never reproduced the build problem of
host-erlang on gcc14, so I can't be sure that this patch solves it,
but I'm fairly sure.
---
 package/erlang/erlang.mk |    1 +
 1 file changed, 1 insertion(+)
Peter Korsgaard - Sept. 16, 2012, 9:25 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> We don't need the Java stuff, and it causes build failures on certain
 Thomas> machines:

 Thomas>  http://autobuild.buildroot.org/results/99035e89e101c41d5e8b5ef6a025856f4af88ae2/build-end.log

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

Patch

diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk
index 63c655b..6d51376 100644
--- a/package/erlang/erlang.mk
+++ b/package/erlang/erlang.mk
@@ -17,6 +17,7 @@  ERLANG_LICENSE_FILES = EPLICENCE
 ERLANG_CONF_ENV = ac_cv_func_isnan=yes ac_cv_func_isinf=yes
 
 ERLANG_CONF_OPT = --without-javac
+HOST_ERLANG_CONF_OPT = --without-javac
 
 ifeq ($(BR2_PACKAGE_NCURSES),y)
 ERLANG_CONF_OPT += --with-termcap