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