From 911e63d0e72aaf928548703237fe9ac1dcbb4c45 Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Fri, 22 Jan 2010 16:28:25 +0000 Subject: gcc PR libstdc++/36101, gcc PR libstdc++/42813 * configure.ac (target_configdirs): Substitute. * Makefile.def: Bootstrap target module libgomp. Add dependency of all-target-libstdc++-v3 on configure-target-libgomp. * Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable. (BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS. * configure, Makefile.in: Regenerate. --- Makefile.def | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.def') diff --git a/Makefile.def b/Makefile.def index f5c2e11..ba23767 100644 --- a/Makefile.def +++ b/Makefile.def @@ -174,7 +174,7 @@ target_modules = { module= boehm-gc; }; target_modules = { module= qthreads; }; target_modules = { module= rda; }; target_modules = { module= libada; }; -target_modules = { module= libgomp; lib_path=.libs; }; +target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; }; // These are (some of) the make targets to be done in each subdirectory. // Not all; these are the ones which don't have special options. @@ -547,6 +547,10 @@ dependencies = { module=all-target-libobjc; on=all-target-libiberty; }; dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; }; dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; }; dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; }; +// parallel_list.o and parallel_settings.o depend on omp.h, which is +// generated by the libgomp configure. Unfortunately, due to the use of +// recursive make, we can't be that specific. +dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; }; // Target modules in the 'src' repository. lang_env_dependencies = { module=examples; }; -- cgit v1.1