diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-08-10 06:27:35 +0000 |
---|---|---|
committer | Sebastian Huber <sh@gcc.gnu.org> | 2018-08-10 06:27:35 +0000 |
commit | ee6ad3e788868f98fb8cae418231e86f5ace1c0a (patch) | |
tree | 50d6846b82e49cd59b8c0ae182d52f244742671d | |
parent | f047d28abb2b94ba221e9a04f8a2d6b1af619305 (diff) | |
download | gcc-ee6ad3e788868f98fb8cae418231e86f5ace1c0a.zip gcc-ee6ad3e788868f98fb8cae418231e86f5ace1c0a.tar.gz gcc-ee6ad3e788868f98fb8cae418231e86f5ace1c0a.tar.bz2 |
libstdc++-v3: Have aligned_alloc() on Newlib
While building for Newlib, some configure checks must be hard coded.
The aligned_alloc() is supported since 2015 in Newlib.
libstdc++-v3/
PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.
From-SVN: r263461
-rw-r--r-- | libstdc++-v3/ChangeLog | 7 | ||||
-rwxr-xr-x | libstdc++-v3/configure | 2 | ||||
-rw-r--r-- | libstdc++-v3/configure.ac | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1b61ec7..c76324c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2018-08-10 Sebastian Huber <sebastian.huber@embedded-brains.de> + + PR target/85904 + * configure.ac: Define HAVE_ALIGNED_ALLOC if building for + Newlib. + * configure: Regenerate. + 2018-08-10 Jonathan Wakely <jwakely@redhat.com> * include/std/deque (std::pmr::deque): Declare alias. diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index d33081d..53803b7 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -28967,6 +28967,8 @@ else $as_echo "#define HAVE_TANHF 1" >>confdefs.h + $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h + $as_echo "#define HAVE_ICONV 1" >>confdefs.h $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 332af37..e15228d 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -330,6 +330,7 @@ else AC_DEFINE(HAVE_TANF) AC_DEFINE(HAVE_TANHF) + AC_DEFINE(HAVE_ALIGNED_ALLOC) AC_DEFINE(HAVE_ICONV) AC_DEFINE(HAVE_MEMALIGN) else |