[PATCH] fix PR65726

Andreas Tobler andreast-list@fgznet.ch
Thu Nov 26 19:08:00 GMT 2015


Hi all,

the attached patch fixes the build issue from this ticket if bootstrap 
is disabled.

Tested on x86_64-*-linux* and on x86_64-*-freebsd* with gcc and clang.

Ok for trunk?

And 5.3?

Thanks,
Andreas

2015-11-26  Andreas Tobler  <andreast@gcc.gnu.org>

	PR libffi/65726
	* Makefile.def (lang_env_dependencies): Make libffi depend
	on cxx.
	* Makefile.in: Regenerate.

-------------- next part --------------
Index: Makefile.def
===================================================================
--- Makefile.def	(revision 230942)
+++ Makefile.def	(working copy)
@@ -534,6 +534,7 @@
 // on libgcc and newlib/libgloss.
 lang_env_dependencies = { module=libjava; cxx=true; };
 lang_env_dependencies = { module=libitm; cxx=true; };
+lang_env_dependencies = { module=libffi; cxx=true; };
 lang_env_dependencies = { module=libcilkrts; cxx=true; };
 lang_env_dependencies = { module=liboffloadmic; cxx=true; };
 lang_env_dependencies = { module=newlib; no_c=true; };
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 230942)
+++ Makefile.in	(working copy)
@@ -51034,6 +51034,7 @@
 
 
 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
+configure-target-libffi: maybe-all-target-libstdc++-v3
 
 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
 configure-target-libjava: maybe-all-target-libstdc++-v3


More information about the Gcc-patches mailing list