[PATCH][libstdc++-v3, fuchsia] Add support for fuchsia targets to libstdc++
Josh Conner via libstdc++
libstdc++@gcc.gnu.org
Tue Jan 17 21:15:00 GMT 2017
This patch adds fuchsia support to libstdc++. OK for trunk?
Thanks -
Josh
2017-01-17 Joshua Conner <joshconner@google.com>
* crossconfig.m4: Add fuchsia OS.
* configure: Regenerate.
-------------- next part --------------
Index: configure
===================================================================
--- configure (revision 244542)
+++ configure (working copy)
@@ -53327,6 +53327,12 @@
done
;;
+
+ *-fuchsia*)
+ SECTION_FLAGS='-ffunction-sections -fdata-sections'
+
+ ;;
+
*-hpux*)
SECTION_FLAGS='-ffunction-sections -fdata-sections'
Index: crossconfig.m4
===================================================================
--- crossconfig.m4 (revision 244542)
+++ crossconfig.m4 (working copy)
@@ -134,6 +134,12 @@
fi
AC_CHECK_FUNCS(__cxa_thread_atexit)
;;
+
+ *-fuchsia*)
+ SECTION_FLAGS='-ffunction-sections -fdata-sections'
+ AC_SUBST(SECTION_FLAGS)
+ ;;
+
*-hpux*)
SECTION_FLAGS='-ffunction-sections -fdata-sections'
AC_SUBST(SECTION_FLAGS)
More information about the Libstdc++
mailing list