aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/mn10300/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/mn10300/aclocal.m4')
-rw-r--r--newlib/libc/machine/mn10300/aclocal.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/machine/mn10300/aclocal.m4 b/newlib/libc/machine/mn10300/aclocal.m4
index a7b2610..ccd3bc6 100644
--- a/newlib/libc/machine/mn10300/aclocal.m4
+++ b/newlib/libc/machine/mn10300/aclocal.m4
@@ -165,6 +165,12 @@ LDFLAGS=${ldflags}
AC_SUBST(LDFLAGS)
AM_CONDITIONAL(USE_LIBTOOL, test x[$]{use_libtool} = xyes)
+
+# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
+# use oext, which is set in configure.host based on the target platform.
+OBJEXT=${oext}
+
+AC_SUBST(OBJEXT)
AC_SUBST(oext)
AC_SUBST(aext)