scripts/trylink: fix bit-rotted linker option verification
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 20 Oct 2015 14:16:16 +0000 (16:16 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 20 Oct 2015 14:16:16 +0000 (16:16 +0200)
commit5134010d88b4aab286b4480822a8d8db8c32d903
treecaa2ab5760a5f305c0566b968371cb648acf3f73
parent76efb3ed339c9003449980d3ea4d75ce19a7c3c5
scripts/trylink: fix bit-rotted linker option verification

To that end, *make it complain* when check_cc fails on options
we usually want to succeed.

   text    data     bss     dec     hex filename
 929697     932   17692  948321   e7861 busybox-1.23.2/busybox
 915361     911   17484  933756   e3f7c busybox-1.23.2.fixed/busybox

 927725     932   17448  946105   e6fb9 busybox-1.24.0/busybox
 913630     911   17240  931781   e37c5 busybox-1.24.0.fixed/busybox

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/trylink