diff options
Diffstat (limited to 'newlib/libc/machine/v850')
-rw-r--r-- | newlib/libc/machine/v850/Makefile.in | 1 | ||||
-rw-r--r-- | newlib/libc/machine/v850/aclocal.m4 | 6 | ||||
-rwxr-xr-x | newlib/libc/machine/v850/configure | 7 |
3 files changed, 14 insertions, 0 deletions
diff --git a/newlib/libc/machine/v850/Makefile.in b/newlib/libc/machine/v850/Makefile.in index f690589f9..ee6354458 100644 --- a/newlib/libc/machine/v850/Makefile.in +++ b/newlib/libc/machine/v850/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/v850/aclocal.m4 b/newlib/libc/machine/v850/aclocal.m4 index a7b261051..ccd3bc67a 100644 --- a/newlib/libc/machine/v850/aclocal.m4 +++ b/newlib/libc/machine/v850/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/v850/configure b/newlib/libc/machine/v850/configure index 5344b58e1..49a2a371a 100755 --- a/newlib/libc/machine/v850/configure +++ b/newlib/libc/machine/v850/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 |