summaryrefslogtreecommitdiff
path: root/libstdc++-v3/crossconfig.m4
diff options
context:
space:
mode:
authorJoshua Conner <joshconner@google.com>2017-01-17 23:36:12 +0000
committerJosh Conner <jconner@gcc.gnu.org>2017-01-17 23:36:12 +0000
commit93f90f7bd57f4dd379b275b8a7bf8f12047e7976 (patch)
tree402adf1b395c02d7b8dd7d5450c1939c19ca06d2 /libstdc++-v3/crossconfig.m4
parent1b3254e4bbe82245421a55324bc8fe34a99c6e3c (diff)
downloadgcc-93f90f7bd57f4dd379b275b8a7bf8f12047e7976.tar.gz
crossconfig.m4: Add fuchsia OS.
2017-01-17 Joshua Conner <joshconner@google.com> * crossconfig.m4: Add fuchsia OS. * configure: Regenerate. From-SVN: r244557
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r--libstdc++-v3/crossconfig.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
index a765a184caa..77c9828fe91 100644
--- a/libstdc++-v3/crossconfig.m4
+++ b/libstdc++-v3/crossconfig.m4
@@ -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)