зеркало из https://github.com/mozilla/pjs.git
Save the value of AS as we need it later tests.
This commit is contained in:
Родитель
77ff5f6b01
Коммит
5700981790
|
@ -378,6 +378,7 @@ XCFLAGS="$X_CFLAGS"
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl set the defaults first
|
dnl set the defaults first
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
|
AS_BIN=$AS
|
||||||
AR_FLAGS='cr $@'
|
AR_FLAGS='cr $@'
|
||||||
AR_LIST='$(AR) t'
|
AR_LIST='$(AR) t'
|
||||||
AR_EXTRACT='$(AR) x'
|
AR_EXTRACT='$(AR) x'
|
||||||
|
@ -3337,7 +3338,7 @@ elif test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
|
||||||
echo '#include <stdio.h>' > dummy-hello.c
|
echo '#include <stdio.h>' > dummy-hello.c
|
||||||
echo 'int main() { printf("Hello World\n"); exit(0); }' >> 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
|
${CC} -S dummy-hello.c -o dummy-hello.s 2>&5
|
||||||
cat dummy-hello.s | ${AS} -o dummy-hello.S - 2>&5
|
cat dummy-hello.s | ${AS_BIN} -o dummy-hello.S - 2>&5
|
||||||
if test $? = 0; then
|
if test $? = 0; then
|
||||||
_res_as_stdin="yes"
|
_res_as_stdin="yes"
|
||||||
else
|
else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче