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/acinclude.m4 | |
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/acinclude.m4')
-rw-r--r-- | newlib/acinclude.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4 index bdefd9635..9e25b8589 100644 --- a/newlib/acinclude.m4 +++ b/newlib/acinclude.m4 @@ -13,6 +13,7 @@ dnl newlib directory. AC_DEFUN([NEWLIB_CONFIGURE], [AC_REQUIRE([DEF_NEWLIB_VERSION]) +m4_if($1, [.], [AM_ENABLE_MULTILIB(, ..)], [dnl dnl Default to --enable-multilib AC_ARG_ENABLE(multilib, [ --enable-multilib build many library versions (default)], @@ -21,6 +22,7 @@ AC_ARG_ENABLE(multilib, no) multilib=no ;; *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;; esac], [multilib=yes])dnl +])dnl dnl Support --enable-target-optspace AC_ARG_ENABLE(target-optspace, |