]> git.llucax.com Git - software/dgc/dgcbench.git/commitdiff
Fix detection of GOLD linker
authorLeandro Lucarella <llucax@gmail.com>
Sat, 19 Sep 2009 20:55:14 +0000 (17:55 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Sat, 19 Sep 2009 20:55:14 +0000 (17:55 -0300)
Makefile

index 574eeb03760a3bccfaf153993c614bced583d0b1..382fcbb068174e434ff460da98e0fb0f58f34459 100644 (file)
--- 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