From: Joshua Conner Date: Tue, 17 Jan 2017 23:36:12 +0000 (+0000) Subject: crossconfig.m4: Add fuchsia OS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93f90f7bd57f4dd379b275b8a7bf8f12047e7976;p=gcc.git crossconfig.m4: Add fuchsia OS. 2017-01-17 Joshua Conner * crossconfig.m4: Add fuchsia OS. * configure: Regenerate. From-SVN: r244557 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b00f7d3ab78..a499ae78d34 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2017-01-17 Joshua Conner + + * crossconfig.m4: Add fuchsia OS. + * configure: Regenerate. + 2017-01-17 Jonathan Wakely PR libstdc++/69699 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index df81425fe51..219a6a34ead 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -53327,6 +53327,12 @@ fi done ;; + + *-fuchsia*) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + ;; + *-hpux*) SECTION_FLAGS='-ffunction-sections -fdata-sections' 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)