Commit 76052545 by Eric Botcazou Committed by Eric Botcazou

configure.ac (*-*-linux-android*): Set target_makefile_frag.

	* configure.ac (*-*-linux-android*): Set target_makefile_frag.
	* configure: Regenerate.
config/
	* mt-android: New file.
libstdc++-v3/
	* src/filesystem/dir.cc (fs::_Dir::advance): Use std::exchange.

From-SVN: r248853
parent 2474f48f
2017-06-03 Eric Botcazou <ebotcazou@adacore.com>
* configure.ac (*-*-linux-android*): Set target_makefile_frag.
* configure: Regenerate.
2017-05-31 Martin Liska <mliska@suse.cz> 2017-05-31 Martin Liska <mliska@suse.cz>
* configure.ac: Add handling of stage2_werror_flags to * configure.ac: Add handling of stage2_werror_flags to
......
2017-06-03 Eric Botcazou <ebotcazou@adacore.com>
* mt-android: New file.
2017-02-13 Richard Biener <rguenther@suse.de> 2017-02-13 Richard Biener <rguenther@suse.de>
* isl.m4: Remove support for ISL 0.14. * isl.m4: Remove support for ISL 0.14.
......
CXXFLAGS_FOR_TARGET += -D_GNU_SOURCE -fexceptions -frtti
...@@ -6930,6 +6930,9 @@ case "${target}" in ...@@ -6930,6 +6930,9 @@ case "${target}" in
nios2-*-elf*) nios2-*-elf*)
target_makefile_frag="config/mt-nios2-elf" target_makefile_frag="config/mt-nios2-elf"
;; ;;
*-*-linux-android*)
target_makefile_frag="config/mt-android"
;;
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
target_makefile_frag="config/mt-gnu" target_makefile_frag="config/mt-gnu"
;; ;;
......
...@@ -2521,6 +2521,9 @@ case "${target}" in ...@@ -2521,6 +2521,9 @@ case "${target}" in
nios2-*-elf*) nios2-*-elf*)
target_makefile_frag="config/mt-nios2-elf" target_makefile_frag="config/mt-nios2-elf"
;; ;;
*-*-linux-android*)
target_makefile_frag="config/mt-android"
;;
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
target_makefile_frag="config/mt-gnu" target_makefile_frag="config/mt-gnu"
;; ;;
......
2017-06-03 Eric Botcazou <ebotcazou@adacore.com>
* src/filesystem/dir.cc (fs::_Dir::advance): Use std::exchange.
2017-06-02 Jonathan Wakely <jwakely@redhat.com> 2017-06-02 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/80624 PR libstdc++/80624
......
...@@ -146,7 +146,8 @@ fs::_Dir::advance(error_code* ec, directory_options options) ...@@ -146,7 +146,8 @@ fs::_Dir::advance(error_code* ec, directory_options options)
int err = std::exchange(errno, 0); int err = std::exchange(errno, 0);
const auto entp = readdir(dirp); const auto entp = readdir(dirp);
std::swap(errno, err); // std::swap cannot be used with Bionic's errno
err = std::exchange(errno, err);
if (entp) if (entp)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment