diff options
author | Martin Liska <mliska@suse.cz> | 2022-11-22 10:39:50 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-11-23 14:19:11 +0100 |
commit | 52a0ef696e1d7858fde1ded81ac8063a5768127c (patch) | |
tree | f326d1e342871324a947ff6c50b3adf20bc72022 /gcc/d | |
parent | e6a32c12b4ef87c084d29863c79503344126d101 (diff) | |
download | gcc-52a0ef696e1d7858fde1ded81ac8063a5768127c.zip gcc-52a0ef696e1d7858fde1ded81ac8063a5768127c.tar.gz gcc-52a0ef696e1d7858fde1ded81ac8063a5768127c.tar.bz2 |
d: respect --enable-link-mutex configure option
I noticed the option is ignored because @DO_LINK_MUTEX@
is not defined in d/Make-lang.in.
gcc/ChangeLog:
* Makefile.in: Set DO_LINK_MUTEX.
gcc/d/ChangeLog:
* Make-lang.in: Use it as $DO_LINK_MUTEX.
Diffstat (limited to 'gcc/d')
-rw-r--r-- | gcc/d/Make-lang.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in index 6f9b2e5..984b1d6 100644 --- a/gcc/d/Make-lang.in +++ b/gcc/d/Make-lang.in @@ -70,7 +70,7 @@ DPOSTCOMPILE = @mv $(@D)/$(DEPDIR)/$(*F).TPo $(@D)/$(DEPDIR)/$(*F).Po DLINKER = $(GDC) $(NO_PIE_FLAG) -lstdc++ # Like LINKER, but use a mutex for serializing front end links. -ifeq (@DO_LINK_MUTEX@,true) +ifeq ($(DO_LINK_MUTEX),true) DLLINKER = $(SHELL) $(srcdir)/lock-and-run.sh linkfe.lck $(DLINKER) else DLLINKER = $(DLINKER) |