diff options
-rwxr-xr-x | scripts/trylink | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/trylink b/scripts/trylink index 6e1187ed0..3c431edc3 100755 --- a/scripts/trylink +++ b/scripts/trylink | |||
@@ -54,7 +54,7 @@ check_cc() { | |||
54 | # "eval" may be needed if CFLAGS can contain | 54 | # "eval" may be needed if CFLAGS can contain |
55 | # '... -D"BB_VER=KBUILD_STR(1.N.M)" ...' | 55 | # '... -D"BB_VER=KBUILD_STR(1.N.M)" ...' |
56 | # and we need shell to process quotes! | 56 | # and we need shell to process quotes! |
57 | $CC $CFLAGS $1 "$tempname".c -o "$tempname" >/dev/null 2>&1 | 57 | $CC $CFLAGS $LDFLAGS $1 "$tempname".c -o "$tempname" >/dev/null 2>&1 |
58 | r=$? | 58 | r=$? |
59 | rm -f "$tempname" "$tempname".c "$tempname".o | 59 | rm -f "$tempname" "$tempname".c "$tempname".o |
60 | return $r | 60 | return $r |