From: Leandro Lucarella Date: Sat, 19 Sep 2009 20:55:34 +0000 (-0300) Subject: Use the alternative linker only for DMD X-Git-Url: https://git.llucax.com/software/dgc/dgcbench.git/commitdiff_plain/c0a78176c710a53333b9daf864b2265495b2e009 Use the alternative linker only for DMD --- 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