This patch adds fuchsia support to libstdc++. OK for trunk?

Thanks -

Josh

2017-01-17  Joshua Conner  <joshcon...@google.com>

        * crossconfig.m4: Add fuchsia OS.
        * configure: Regenerate.

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)

Reply via email to