aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-09-23 10:34:51 -0400
committerJason Merrill <jason@gcc.gnu.org>2016-09-23 10:34:51 -0400
commit7be8d6636905b2b446d8bbfc6ebca80b8a1f8c7d (patch)
treebefd73f1605cccc61f02ad8ee8754b5e38dae39d /libstdc++-v3
parentbbd6fcf320460f29c1ef8c3b42d571238b0f86e5 (diff)
downloadgcc-7be8d6636905b2b446d8bbfc6ebca80b8a1f8c7d.zip
gcc-7be8d6636905b2b446d8bbfc6ebca80b8a1f8c7d.tar.gz
gcc-7be8d6636905b2b446d8bbfc6ebca80b8a1f8c7d.tar.bz2
* configure.ac: Define HAVE_MEMALIGN for newlib.
From-SVN: r240435
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rwxr-xr-xlibstdc++-v3/configure2
-rw-r--r--libstdc++-v3/configure.ac1
3 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 81e99e7..69338c1 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-22 Jason Merrill <jason@redhat.com>
+
+ * configure.ac: Define HAVE_MEMALIGN for newlib.
+
2015-09-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config/cpu/m68k/atomicity.h: Adjust comment.
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index ba471b0..04612bd 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 5657ecb..baf605c 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