Bug 491325 - Fix warning during builds: "cat: dummy-hello.s: No such file or directory"; (Bv1-CC) Copy it to comm-central.
r=Callek.
This commit is contained in:
Родитель
2b214131a2
Коммит
2fd7d7762a
|
@ -6357,7 +6357,7 @@ if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
|
|||
echo '#include <stdio.h>' > dummy-hello.c
|
||||
echo 'int main() { printf("Hello World\n"); exit(0); }' >> dummy-hello.c
|
||||
${CC} -S dummy-hello.c -o dummy-hello.s 2>&5
|
||||
cat dummy-hello.s | ${AS_BIN} -o dummy-hello.S - 2>&5
|
||||
cat dummy-hello.s 2> /dev/null | ${AS_BIN} -o dummy-hello.S - 2>&5
|
||||
if test $? = 0; then
|
||||
_res_as_stdin="yes"
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче