diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-21 06:52:02 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-22 01:10:09 +0300 |
commit | 17c2b857dc42cfe5e46d110250279f78807a3e5f (patch) | |
tree | 15cf00c34a82bbb154f2091cb8684346588b3339 /newlib/configure.ac | |
parent | 5cc72ac79d2bb072475de81a00fe302a0082e84b (diff) |
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.
Diffstat (limited to 'newlib/configure.ac')
-rw-r--r-- | newlib/configure.ac | 21 |
1 files changed, 1 insertions, 20 deletions
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 |