From f85d8a81fe8d95716b46d95ca84e4bca5cf20ee3 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 5 Feb 2018 14:33:43 +0100 Subject: newlib: fix building with newer ptxdist This is needed to propagate configure options. Signed-off-by: Michael Olbrich --- rules/newlib.make | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rules/newlib.make b/rules/newlib.make index e9afe02..17716c5 100644 --- a/rules/newlib.make +++ b/rules/newlib.make @@ -43,4 +43,12 @@ NEWLIB_CONF_OPT := \ --disable-newlib-supplied-syscalls \ --with-newlib +$(STATEDIR)/newlib.prepare: + @$(call targetinfo) +# # unknown options a propagated to newlib/configure + @sed -i "s:^\(enable_option_checking\)=.*:\1=no:" \ + $(NEWLIB_DIR)/configure + @$(call world/prepare, NEWLIB) + @$(call touch) + # vim: syntax=make -- cgit v1.2.3