From patchwork Mon Apr 30 23:25:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: skip tpf configure tests Date: Mon, 30 Apr 2012 13:25:07 -0000 From: DJ Delorie X-Patchwork-Id: 155978 Message-Id: <201204302325.q3UNP7Ne030994@greed.delorie.com> To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org * crossconfig.m4: Since we know that all TPF builds are cross- builds and cannot run configuration-time link tests, do not allow it; just go with known supported linker options. * configure: Regenerate (called as GLIBCXX_CROSSCONFIG). Index: crossconfig.m4 =================================================================== --- crossconfig.m4 (revision 187002) +++ crossconfig.m4 (working copy) @@ -219,14 +219,14 @@ case "${host}" in AC_DEFINE(HAVE_ISNANF) AC_DEFINE(HAVE_MODFF) AC_DEFINE(HAVE_HYPOT) ;; *-tpf) SECTION_FLAGS='-ffunction-sections -fdata-sections' + SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS' AC_SUBST(SECTION_FLAGS) - GLIBCXX_CHECK_LINKER_FEATURES AC_DEFINE(HAVE_FINITE) AC_DEFINE(HAVE_FINITEF) AC_DEFINE(HAVE_FREXPF) AC_DEFINE(HAVE_HYPOTF) AC_DEFINE(HAVE_ISINF) AC_DEFINE(HAVE_ISINFF)