From 8ac94ca7bbe4ceddafe6583ee4766d3c15b18ac8 Mon Sep 17 00:00:00 2001 From: Stafford Horne Date: Sat, 3 Nov 2018 07:00:02 +0900 Subject: newlib/configure.host: Set have_init_fini to no for OpenRISC The new GCC port for OpenRISC will use the init_fini_array only and not provide the init() and fini() functions. Disable the function usage by default as its no longer needed. Signed-off-by: Stafford Horne --- newlib/configure.host | 1 + 1 file changed, 1 insertion(+) (limited to 'newlib/configure.host') diff --git a/newlib/configure.host b/newlib/configure.host index 27bce36a1..6c49cb750 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -279,6 +279,7 @@ case "${host_cpu}" in ;; or1k*|or1knd*) machine_dir=or1k + have_init_fini=no ;; powerpc*) machine_dir=powerpc -- cgit v1.2.3