aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/a29k
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/a29k')
-rw-r--r--newlib/libc/machine/a29k/Makefile.in1
-rw-r--r--newlib/libc/machine/a29k/aclocal.m46
-rwxr-xr-xnewlib/libc/machine/a29k/configure7
3 files changed, 14 insertions, 0 deletions
diff --git a/newlib/libc/machine/a29k/Makefile.in b/newlib/libc/machine/a29k/Makefile.in
index 5b319e0..a245f85 100644
--- a/newlib/libc/machine/a29k/Makefile.in
+++ b/newlib/libc/machine/a29k/Makefile.in
@@ -72,6 +72,7 @@ LDFLAGS = @LDFLAGS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
+OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
VERSION = @VERSION@
diff --git a/newlib/libc/machine/a29k/aclocal.m4 b/newlib/libc/machine/a29k/aclocal.m4
index a7b2610..ccd3bc6 100644
--- a/newlib/libc/machine/a29k/aclocal.m4
+++ b/newlib/libc/machine/a29k/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)
diff --git a/newlib/libc/machine/a29k/configure b/newlib/libc/machine/a29k/configure
index 9b9b97c..54b4efd 100755
--- a/newlib/libc/machine/a29k/configure
+++ b/newlib/libc/machine/a29k/configure
@@ -1474,6 +1474,12 @@ else
USE_LIBTOOL_FALSE=
fi
+# 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}
+
+
+
@@ -1664,6 +1670,7 @@ s%@EXEEXT@%$EXEEXT%g
s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g
s%@USE_LIBTOOL_TRUE@%$USE_LIBTOOL_TRUE%g
s%@USE_LIBTOOL_FALSE@%$USE_LIBTOOL_FALSE%g
+s%@OBJEXT@%$OBJEXT%g
s%@oext@%$oext%g
s%@aext@%$aext%g
s%@libm_machine_dir@%$libm_machine_dir%g