skip tpf configure tests

Submitted by DJ Delorie on April 30, 2012, 11:25 p.m.

Details

Message ID 201204302325.q3UNP7Ne030994@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie April 30, 2012, 11:25 p.m.
* 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).

Comments

Benjamin Kosnik May 2, 2012, 4:33 p.m.
> 	* 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).

OK

-benjamin
DJ Delorie May 2, 2012, 7:35 p.m.
> > 	* 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).
> 
> OK

Thanks!  Committed.

Patch hide | download patch | download mbox

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)