From: Leandro Lucarella Date: Sat, 19 Sep 2009 20:55:14 +0000 (-0300) Subject: Fix detection of GOLD linker X-Git-Url: https://git.llucax.com/software/dgc/dgcbench.git/commitdiff_plain/9cb2b1813b143ffb7f8c480f87aa1f209e2ba21c?ds=inline Fix detection of GOLD linker --- diff --git a/Makefile b/Makefile index 574eeb0..382fcbb 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ dummy_mkdir := $(shell mkdir -p $O) endif # don't use Gold with old DMDs -ifneq ($(shell ld --version | grep gold),) +ifneq ($(strip $(shell ld --version | grep gold)),) export LD_ := /usr/bin/ld.single endif