diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-16 15:09:31 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-16 15:09:31 +0000 |
commit | be5f9e46eb176b948cf8e14d2be717e1027a1d93 (patch) | |
tree | 58dd6ed692243aaa8c1c4c970c25746342075404 /gcc/configure | |
parent | f4b2c95ec5da39ce94e8827c9b3a106b95b06da9 (diff) | |
download | gcc-be5f9e46eb176b948cf8e14d2be717e1027a1d93.tar.gz |
* Makefile.in (LLINKER): New variable.
(mostlyclean): Remove link mutex.
* configure.ac: Handle --enable-link-mutex.
* lock-and-run.sh: New script.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198977 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure index 39e911c9830..1f03eac6e27 100755 --- a/gcc/configure +++ b/gcc/configure @@ -670,6 +670,7 @@ subdirs dollar gcc_tooldir enable_lto +DO_LINK_MUTEX MAINT zlibinc zlibdir @@ -916,6 +917,7 @@ with_long_double_128 with_gc with_system_zlib enable_maintainer_mode +enable_link_mutex enable_version_specific_runtime_libs enable_plugin enable_libquadmath_support @@ -1627,6 +1629,8 @@ Optional Features: --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer + --enable-link-mutex avoid linking multiple front-ends at once to avoid + thrashing on the build machine --enable-version-specific-runtime-libs specify that runtime libraries should be installed in a compiler-specific directory @@ -17830,7 +17834,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17833 "configure" +#line 17837 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -17936,7 +17940,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17939 "configure" +#line 17943 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -27061,6 +27065,26 @@ else MAINT='#' fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to avoid linking multiple front-ends at once" >&5 +$as_echo_n "checking whether to avoid linking multiple front-ends at once... " >&6; } + # Check whether --enable-link-mutex was given. +if test "${enable_link_mutex+set}" = set; then : + enableval=$enable_link_mutex; do_link_mutex=$enableval +else + do_link_mutex=no +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $do_link_mutex" >&5 +$as_echo "$do_link_mutex" >&6; } + +if test "$do_link_mutex" = "yes"; then + DO_LINK_MUTEX=true +else + DO_LINK_MUTEX=false +fi + + # -------------- # Language hooks # -------------- |