diff --git a/d/Makefile b/d/Makefile index 54374cf65..151c44360 100644 --- a/d/Makefile +++ b/d/Makefile @@ -1,7 +1,7 @@ GDC?=gdc DMD?=dmd demangle: demangle.d -ifneq "" "$(shell which $DMD)" +ifneq "" "$(shell which ${DMD})" $(DMD) -O -release $< -of$@ else $(GDC) -O2 $< -o $@