X-Git-Url: https://git.llucax.com/software/dgc/dgcbench.git/blobdiff_plain/9cb2b1813b143ffb7f8c480f87aa1f209e2ba21c..c0a78176c710a53333b9daf864b2265495b2e009:/Makefile diff --git a/Makefile b/Makefile index 382fcbb..a8b02ea 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,11 @@ dummy_mkdir := $(shell mkdir -p $O) endif # don't use Gold with old DMDs +ifeq ($(subst dmd,,$(DC)),) ifneq ($(strip $(shell ld --version | grep gold)),) export LD_ := /usr/bin/ld.single endif +endif .PHONY: all all: naive