mirror of
https://github.com/dlang/dmd.git
synced 2025-04-28 06:00:13 +03:00
Makefile: Suppress which
error output
On Linux, there's no stderr output, but on Windows, there is.
This commit is contained in:
parent
254de93ac8
commit
04e236923a
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -12,11 +12,11 @@ ifeq (,$(HOST_DMD))
|
||||||
HOST_DMD:=$(HOST_DC)
|
HOST_DMD:=$(HOST_DC)
|
||||||
else ifneq (,$(DMD))
|
else ifneq (,$(DMD))
|
||||||
HOST_DMD:=$(DMD)
|
HOST_DMD:=$(DMD)
|
||||||
else ifneq (,$(shell which dmd))
|
else ifneq (,$(shell which dmd 2>/dev/null))
|
||||||
HOST_DMD:=dmd$(EXE)
|
HOST_DMD:=dmd$(EXE)
|
||||||
else ifneq (,$(shell which ldmd2))
|
else ifneq (,$(shell which ldmd2 2>/dev/null))
|
||||||
HOST_DMD:=ldmd2$(EXE)
|
HOST_DMD:=ldmd2$(EXE)
|
||||||
else ifneq (,$(shell which gdmd))
|
else ifneq (,$(shell which gdmd 2>/dev/null))
|
||||||
HOST_DMD:=gdmd$(EXE)
|
HOST_DMD:=gdmd$(EXE)
|
||||||
else
|
else
|
||||||
$(error Couldn't find a D host compiler. Please set variable HOST_DMD to the path to a dmd/ldmd2/gdmd executable)
|
$(error Couldn't find a D host compiler. Please set variable HOST_DMD to the path to a dmd/ldmd2/gdmd executable)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue