typo fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
58d0e20ad0
commit
edcd5dcc9b
@ -51,7 +51,7 @@ check_cc() {
|
|||||||
echo "int main(int argc,char**argv){return argv?argc:0;}" >"$tempname".c
|
echo "int main(int argc,char**argv){return argv?argc:0;}" >"$tempname".c
|
||||||
# Can use "-o /dev/null", but older gcc tend to *unlink it* on failure! :(
|
# Can use "-o /dev/null", but older gcc tend to *unlink it* on failure! :(
|
||||||
# Was using "-xc /dev/null", but we need a valid C program.
|
# Was using "-xc /dev/null", but we need a valid C program.
|
||||||
# "eval" may be needed is CFLAGS can contain
|
# "eval" may be needed if CFLAGS can contain
|
||||||
# '... -D"BB_VER=KBUILD_STR(1.N.M)" ...'
|
# '... -D"BB_VER=KBUILD_STR(1.N.M)" ...'
|
||||||
# and we need shell to process quotes!
|
# and we need shell to process quotes!
|
||||||
$CC $CFLAGS $1 "$tempname".c -o "$tempname" >/dev/null 2>&1
|
$CC $CFLAGS $1 "$tempname".c -o "$tempname" >/dev/null 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user