From 7be8d6636905b2b446d8bbfc6ebca80b8a1f8c7d Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 23 Sep 2016 10:34:51 -0400 Subject: [PATCH] * configure.ac: Define HAVE_MEMALIGN for newlib. From-SVN: r240435 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/configure | 2 ++ libstdc++-v3/configure.ac | 1 + 3 files changed, 7 insertions(+) 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 -- 2.30.2