diff options
-rwxr-xr-x | scripts/trylink | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/trylink b/scripts/trylink index 9132b3f76..6e1187ed0 100755 --- a/scripts/trylink +++ b/scripts/trylink | |||
@@ -51,7 +51,7 @@ check_cc() { | |||
51 | echo "int main(int argc,char**argv){return argv?argc:0;}" >"$tempname".c | 51 | echo "int main(int argc,char**argv){return argv?argc:0;}" >"$tempname".c |
52 | # Can use "-o /dev/null", but older gcc tend to *unlink it* on failure! :( | 52 | # Can use "-o /dev/null", but older gcc tend to *unlink it* on failure! :( |
53 | # Was using "-xc /dev/null", but we need a valid C program. | 53 | # Was using "-xc /dev/null", but we need a valid C program. |
54 | # "eval" may be needed is 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 $1 "$tempname".c -o "$tempname" >/dev/null 2>&1 |