From 070d1cee7d0e5616ca93ec02219e18816c79c640 Mon Sep 17 00:00:00 2001
From: Anthony Green <green@moxielogic.com>
Date: Thu, 11 Dec 2014 11:54:44 +0000
Subject: [PATCH] Rebuilt moxie/configure

---
 libgloss/ChangeLog       |  4 ++++
 libgloss/moxie/configure | 16 ++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 81c540051..0f236a7e7 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-11  Anthony Green  <green@moxielogic.com>
+
+	* moxie/configure: Rebuilt.
+
 2014-11-28  Jaydeep Patil  <jaydeep.patil@imgtec.com>
 	    Matthew Fortune  <Matthew.Fortune@imgtec.com>
 
diff --git a/libgloss/moxie/configure b/libgloss/moxie/configure
index 45233987e..94441c1f2 100644
--- a/libgloss/moxie/configure
+++ b/libgloss/moxie/configure
@@ -585,6 +585,8 @@ ac_unique_file="crt0.S"
 ac_subst_vars='LTLIBOBJS
 LIBOBJS
 host_makefile_frag_path
+BUILD_CRT0_FALSE
+BUILD_CRT0_TRUE
 CCASFLAGS
 CCAS
 RANLIB
@@ -2525,6 +2527,20 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 
 
 
+case "${target}" in
+  moxie-*-moxiebox*)
+    BUILD_CRT0_TRUE='#'
+    BUILD_CRT0_FALSE=
+    ;;
+  *)
+    BUILD_CRT0_TRUE=
+    BUILD_CRT0_FALSE='#'
+    ;;
+esac
+
+
+
+
 host_makefile_frag=${srcdir}/../config/default.mh
 
 host_makefile_frag_path=$host_makefile_frag