aboutsummaryrefslogtreecommitdiff
path: root/newlib/configure.host
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2018-11-03 07:00:02 +0900
committerCorinna Vinschen <corinna@vinschen.de>2018-11-05 10:02:20 +0100
commit8ac94ca7bbe4ceddafe6583ee4766d3c15b18ac8 (patch)
treec351d67e92c7e04be3cdf3d274adcfdef981650b /newlib/configure.host
parent9a7f131e0e4dcb4833c4b5eb8c04643a05c3c7e3 (diff)
downloadnewlib-8ac94ca7bbe4ceddafe6583ee4766d3c15b18ac8.zip
newlib-8ac94ca7bbe4ceddafe6583ee4766d3c15b18ac8.tar.gz
newlib-8ac94ca7bbe4ceddafe6583ee4766d3c15b18ac8.tar.bz2
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 <shorne@gmail.com>
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 27bce36..6c49cb7 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