This, ladies and gentlement, is commit #4000.
[coreboot.git] / src / config / Options.lb
index 1ad1ef8ca43d11fb55d8e717763ce363aeec2640..88f57e2879b358c42383d847fa5f2fa91b97f508 100644 (file)
@@ -146,7 +146,7 @@ define COREBOOT_COMPILER
        comment "Build compiler"
 end
 define COREBOOT_LINKER
-       default "$(shell  $(CC) -Wl,--version 2>&1 | grep version | tail -n 1)"
+       default "$(shell  $(CC) -Wl,--version 2>&1 | grep \" ld\")"
        export always
        format "\"%s\""
        comment "Build linker"