From c0a78176c710a53333b9daf864b2265495b2e009 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sat, 19 Sep 2009 17:55:34 -0300 Subject: [PATCH] Use the alternative linker only for DMD --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.43.0