]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/configure.ac
Makefile.in (LLINKER): New variable.
[thirdparty/gcc.git] / gcc / configure.ac
index a6cdf245ea522aff0c51ff90a945922e40604ee6..855affdf152302e307f4f35611f2e370b5fc18ab 100644 (file)
@@ -4958,6 +4958,24 @@ else
 fi
 AC_SUBST(MAINT)dnl
 
+dnl Whether to prevent multiple front-ends from linking at the same time
+
+AC_MSG_CHECKING([whether to avoid linking multiple front-ends at once])
+  AC_ARG_ENABLE(link-mutex,
+[AS_HELP_STRING([--enable-link-mutex],
+               [avoid linking multiple front-ends at once to avoid thrashing
+                on the build machine])],
+      do_link_mutex=$enableval,
+      do_link_mutex=no)
+AC_MSG_RESULT($do_link_mutex)
+
+if test "$do_link_mutex" = "yes"; then
+   DO_LINK_MUTEX=true
+else
+   DO_LINK_MUTEX=false
+fi
+AC_SUBST(DO_LINK_MUTEX)
+
 # --------------
 # Language hooks
 # --------------