From 17c2b857dc42cfe5e46d110250279f78807a3e5f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 20 Jan 2022 22:52:02 -0500 Subject: newlib: move to ../config/multi.m4 for multilib logic The current newlib multilib logic is almost exactly the same as the config/multi.m4, and the differences should be minor, so switch over to that to delete custom logic on ourside. --- newlib/configure.ac | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'newlib/configure.ac') diff --git a/newlib/configure.ac b/newlib/configure.ac index c54d2047a..b5ee6ff4f 100644 --- a/newlib/configure.ac +++ b/newlib/configure.ac @@ -500,12 +500,6 @@ AC_SUBST([NEWLIB_MAJOR_VERSION]) AC_SUBST([NEWLIB_MINOR_VERSION]) AC_SUBST([NEWLIB_PATCHLEVEL_VERSION]) -if test "${multilib}" = "yes"; then - multilib_arg="--enable-multilib" -else - multilib_arg= -fi - if test "${newlib_iconv}" = "yes"; then AC_DEFINE(_ICONV_ENABLED, 1, [ICONV enabled.]) fi @@ -719,18 +713,5 @@ fi AC_SUBST(CFLAGS) -AC_CONFIG_FILES([Makefile], -[if test -n "$CONFIG_FILES"; then - unset ac_file - . ${newlib_basedir}/../config-ml.in -fi], -srcdir=${srcdir} -host=${host} -with_multisubdir=${with_multisubdir} -ac_configure_args="${multilib_arg} ${ac_configure_args}" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -newlib_basedir=${newlib_basedir} -CC="${CC}" -LDFLAGS="${LDFLAGS}" -) +AC_CONFIG_FILES([Makefile]) AC_OUTPUT -- cgit v1.2.3