crossconfig.m4: Add fuchsia OS.
authorJoshua Conner <joshconner@google.com>
Tue, 17 Jan 2017 23:36:12 +0000 (23:36 +0000)
committerJosh Conner <jconner@gcc.gnu.org>
Tue, 17 Jan 2017 23:36:12 +0000 (23:36 +0000)
2017-01-17  Joshua Conner  <joshconner@google.com>

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

From-SVN: r244557

libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/crossconfig.m4

index b00f7d3ab7861029eda7d89f6184686a1998d052..a499ae78d34810bbb46064a7454c15e52fd36097 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-17  Joshua Conner  <joshconner@google.com>
+
+       * crossconfig.m4: Add fuchsia OS.
+       * configure: Regenerate. 
+
 2017-01-17  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/69699
index df81425fe51190e1dfd5199e8597951cd7be29cb..219a6a34eade0afa523f64b3e65c63d0cc6acc23 100755 (executable)
 done
 
     ;;
+
+  *-fuchsia*)
+    SECTION_FLAGS='-ffunction-sections -fdata-sections'
+
+    ;;
+
   *-hpux*)
     SECTION_FLAGS='-ffunction-sections -fdata-sections'
 
index a765a184caa90fed055b1bc27e379461995389ae..77c9828fe91a244f206a9b47c83128aa3d261333 100644 (file)
@@ -134,6 +134,12 @@ case "${host}" in
     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)