]> git.llucax.com Git - software/dgc/dgcbench.git/blobdiff - Makefile
Fix detection of GOLD linker
[software/dgc/dgcbench.git] / 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