From: Jason Merrill Date: Fri, 23 Sep 2016 14:34:51 +0000 (-0400) Subject: * configure.ac: Define HAVE_MEMALIGN for newlib. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7be8d6636905b2b446d8bbfc6ebca80b8a1f8c7d;p=gcc.git * configure.ac: Define HAVE_MEMALIGN for newlib. From-SVN: r240435 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 81e99e70964..69338c13ace 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2016-09-22 Jason Merrill + + * configure.ac: Define HAVE_MEMALIGN for newlib. + 2015-09-23 Sebastian Huber * config/cpu/m68k/atomicity.h: Adjust comment. diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index ba471b08d10..04612bde76e 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -28824,6 +28824,8 @@ else $as_echo "#define HAVE_ICONV 1" >>confdefs.h + $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h + else # Base decisions on target environment. diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 5657ecb27dc..baf605cfea6 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -324,6 +324,7 @@ else AC_DEFINE(HAVE_TANHF) AC_DEFINE(HAVE_ICONV) + AC_DEFINE(HAVE_MEMALIGN) else GLIBCXX_CROSSCONFIG fi